Interface CreateKxDataviewRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateKxDataviewRequest.Builder,CreateKxDataviewRequest>,FinspaceRequest.Builder,SdkBuilder<CreateKxDataviewRequest.Builder,CreateKxDataviewRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateKxDataviewRequest
public static interface CreateKxDataviewRequest.Builder extends FinspaceRequest.Builder, SdkPojo, CopyableBuilder<CreateKxDataviewRequest.Builder,CreateKxDataviewRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateKxDataviewRequest.BuilderautoUpdate(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.CreateKxDataviewRequest.BuilderavailabilityZoneId(String availabilityZoneId)The identifier of the availability zones.CreateKxDataviewRequest.BuilderazMode(String azMode)The number of availability zones you want to assign per volume.CreateKxDataviewRequest.BuilderazMode(KxAzMode azMode)The number of availability zones you want to assign per volume.CreateKxDataviewRequest.BuilderchangesetId(String changesetId)A unique identifier of the changeset that you want to use to ingest data.CreateKxDataviewRequest.BuilderclientToken(String clientToken)A token that ensures idempotency.CreateKxDataviewRequest.BuilderdatabaseName(String databaseName)The name of the database where you want to create a dataview.CreateKxDataviewRequest.BuilderdataviewName(String dataviewName)A unique identifier for the dataview.CreateKxDataviewRequest.Builderdescription(String description)A description of the dataview.CreateKxDataviewRequest.BuilderenvironmentId(String environmentId)A unique identifier for the kdb environment, where you want to create the dataview.CreateKxDataviewRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateKxDataviewRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateKxDataviewRequest.BuilderreadWrite(Boolean readWrite)The option to specify whether you want to make the dataview writable to perform database maintenance.CreateKxDataviewRequest.BuildersegmentConfigurations(Collection<KxDataviewSegmentConfiguration> segmentConfigurations)The configuration that contains the database path of the data that you want to place on each selected volume.CreateKxDataviewRequest.BuildersegmentConfigurations(Consumer<KxDataviewSegmentConfiguration.Builder>... segmentConfigurations)The configuration that contains the database path of the data that you want to place on each selected volume.CreateKxDataviewRequest.BuildersegmentConfigurations(KxDataviewSegmentConfiguration... segmentConfigurations)The configuration that contains the database path of the data that you want to place on each selected volume.CreateKxDataviewRequest.Buildertags(Map<String,String> tags)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, sdkFields
-
-
-
-
Method Detail
-
environmentId
CreateKxDataviewRequest.Builder environmentId(String 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
CreateKxDataviewRequest.Builder databaseName(String 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
CreateKxDataviewRequest.Builder dataviewName(String 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
CreateKxDataviewRequest.Builder azMode(String azMode)
The number of availability zones you want to assign per volume. Currently, FinSpace only supports
SINGLEfor volumes. This places dataview in a single AZ.
-
azMode
CreateKxDataviewRequest.Builder azMode(KxAzMode azMode)
The number of availability zones you want to assign per volume. Currently, FinSpace only supports
SINGLEfor volumes. This places dataview in a single AZ.
-
availabilityZoneId
CreateKxDataviewRequest.Builder availabilityZoneId(String 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
CreateKxDataviewRequest.Builder changesetId(String 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.Builderavoiding the need to create one manually viaKxDataviewSegmentConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#segmentConfigurations(List.) - 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:
#segmentConfigurations(java.util.Collection)
-
autoUpdate
CreateKxDataviewRequest.Builder autoUpdate(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. 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
CreateKxDataviewRequest.Builder readWrite(Boolean 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,
autoUpdatemust be set as False ifreadWriteis 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
readWriteparameter 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,
autoUpdatemust be set as False ifreadWriteis 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
readWriteparameter later.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
description
CreateKxDataviewRequest.Builder description(String 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
CreateKxDataviewRequest.Builder tags(Map<String,String> 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
CreateKxDataviewRequest.Builder clientToken(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateKxDataviewRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-