Interface CreateKxDataviewRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateKxDataviewRequest.Builder,
,CreateKxDataviewRequest> FinspaceRequest.Builder
,SdkBuilder<CreateKxDataviewRequest.Builder,
,CreateKxDataviewRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateKxDataviewRequest
-
Method Summary
Modifier and TypeMethodDescriptionautoUpdate
(Boolean autoUpdate) The option to specify whether you want to apply all the future additions and corrections automatically to the dataview, when you ingest new changesets.availabilityZoneId
(String availabilityZoneId) The identifier of the availability zones.The number of availability zones you want to assign per volume.The number of availability zones you want to assign per volume.changesetId
(String changesetId) A unique identifier of the changeset that you want to use to ingest data.clientToken
(String clientToken) A token that ensures idempotency.databaseName
(String databaseName) The name of the database where you want to create a dataview.dataviewName
(String dataviewName) A unique identifier for the dataview.description
(String description) A description of the dataview.environmentId
(String environmentId) A unique identifier for the kdb environment, where you want to create the dataview.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The option to specify whether you want to make the dataview writable to perform database maintenance.segmentConfigurations
(Collection<KxDataviewSegmentConfiguration> segmentConfigurations) The configuration that contains the database path of the data that you want to place on each selected volume.segmentConfigurations
(Consumer<KxDataviewSegmentConfiguration.Builder>... segmentConfigurations) The configuration that contains the database path of the data that you want to place on each selected volume.segmentConfigurations
(KxDataviewSegmentConfiguration... segmentConfigurations) The configuration that contains the database path of the data that you want to place on each selected volume.A list of key-value pairs to label the dataview.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.finspace.model.FinspaceRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
environmentId
A unique identifier for the kdb environment, where you want to create the dataview.
- Parameters:
environmentId
- A unique identifier for the kdb environment, where you want to create the dataview.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
databaseName
The name of the database where you want to create a dataview.
- Parameters:
databaseName
- The name of the database where you want to create a dataview.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataviewName
A unique identifier for the dataview.
- Parameters:
dataviewName
- A unique identifier for the dataview.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
azMode
The number of availability zones you want to assign per volume. Currently, FinSpace only supports
SINGLE
for volumes. This places dataview in a single AZ.- Parameters:
azMode
- The number of availability zones you want to assign per volume. Currently, FinSpace only supportsSINGLE
for volumes. This places dataview in a single AZ.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
azMode
The number of availability zones you want to assign per volume. Currently, FinSpace only supports
SINGLE
for volumes. This places dataview in a single AZ.- Parameters:
azMode
- The number of availability zones you want to assign per volume. Currently, FinSpace only supportsSINGLE
for volumes. This places dataview in a single AZ.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
availabilityZoneId
The identifier of the availability zones.
- Parameters:
availabilityZoneId
- The identifier of the availability zones.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
changesetId
A unique identifier of the changeset that you want to use to ingest data.
- Parameters:
changesetId
- A unique identifier of the changeset that you want to use to ingest data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
segmentConfigurations
CreateKxDataviewRequest.Builder segmentConfigurations(Collection<KxDataviewSegmentConfiguration> segmentConfigurations) The configuration that contains the database path of the data that you want to place on each selected volume. Each segment must have a unique database path for each volume. If you do not explicitly specify any database path for a volume, they are accessible from the cluster through the default S3/object store segment.
- Parameters:
segmentConfigurations
- The configuration that contains the database path of the data that you want to place on each selected volume. Each segment must have a unique database path for each volume. If you do not explicitly specify any database path for a volume, they are accessible from the cluster through the default S3/object store segment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
segmentConfigurations
CreateKxDataviewRequest.Builder segmentConfigurations(KxDataviewSegmentConfiguration... segmentConfigurations) The configuration that contains the database path of the data that you want to place on each selected volume. Each segment must have a unique database path for each volume. If you do not explicitly specify any database path for a volume, they are accessible from the cluster through the default S3/object store segment.
- Parameters:
segmentConfigurations
- The configuration that contains the database path of the data that you want to place on each selected volume. Each segment must have a unique database path for each volume. If you do not explicitly specify any database path for a volume, they are accessible from the cluster through the default S3/object store segment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
segmentConfigurations
CreateKxDataviewRequest.Builder segmentConfigurations(Consumer<KxDataviewSegmentConfiguration.Builder>... segmentConfigurations) The configuration that contains the database path of the data that you want to place on each selected volume. Each segment must have a unique database path for each volume. If you do not explicitly specify any database path for a volume, they are accessible from the cluster through the default S3/object store segment.
This is a convenience method that creates an instance of theKxDataviewSegmentConfiguration.Builder
avoiding the need to create one manually viaKxDataviewSegmentConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosegmentConfigurations(List<KxDataviewSegmentConfiguration>)
.- Parameters:
segmentConfigurations
- a consumer that will call methods onKxDataviewSegmentConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
autoUpdate
The option to specify whether you want to apply all the future additions and corrections automatically to the dataview, when you ingest new changesets. The default value is false.
- Parameters:
autoUpdate
- The option to specify whether you want to apply all the future additions and corrections automatically to the dataview, when you ingest new changesets. The default value is false.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
readWrite
The option to specify whether you want to make the dataview writable to perform database maintenance. The following are some considerations related to writable dataviews.
-
You cannot create partial writable dataviews. When you create writeable dataviews you must provide the entire database path.
-
You cannot perform updates on a writeable dataview. Hence,
autoUpdate
must be set as False ifreadWrite
is True for a dataview. -
You must also use a unique volume for creating a writeable dataview. So, if you choose a volume that is already in use by another dataview, the dataview creation fails.
-
Once you create a dataview as writeable, you cannot change it to read-only. So, you cannot update the
readWrite
parameter later.
- Parameters:
readWrite
- The option to specify whether you want to make the dataview writable to perform database maintenance. The following are some considerations related to writable dataviews.-
You cannot create partial writable dataviews. When you create writeable dataviews you must provide the entire database path.
-
You cannot perform updates on a writeable dataview. Hence,
autoUpdate
must be set as False ifreadWrite
is True for a dataview. -
You must also use a unique volume for creating a writeable dataview. So, if you choose a volume that is already in use by another dataview, the dataview creation fails.
-
Once you create a dataview as writeable, you cannot change it to read-only. So, you cannot update the
readWrite
parameter later.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
description
A description of the dataview.
- Parameters:
description
- A description of the dataview.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of key-value pairs to label the dataview. You can add up to 50 tags to a dataview.
- Parameters:
tags
- A list of key-value pairs to label the dataview. You can add up to 50 tags to a dataview.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
A token that ensures idempotency. This token expires in 10 minutes.
- Parameters:
clientToken
- A token that ensures idempotency. This token expires in 10 minutes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateKxDataviewRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateKxDataviewRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-