Interface CreateTableRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateTableRequest.Builder,
,CreateTableRequest> KeyspacesRequest.Builder
,SdkBuilder<CreateTableRequest.Builder,
,CreateTableRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateTableRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateTableRequest.Builder
autoScalingSpecification
(Consumer<AutoScalingSpecification.Builder> autoScalingSpecification) The optional auto scaling settings for a table in provisioned capacity mode.autoScalingSpecification
(AutoScalingSpecification autoScalingSpecification) The optional auto scaling settings for a table in provisioned capacity mode.default CreateTableRequest.Builder
capacitySpecification
(Consumer<CapacitySpecification.Builder> capacitySpecification) Specifies the read/write throughput capacity mode for the table.capacitySpecification
(CapacitySpecification capacitySpecification) Specifies the read/write throughput capacity mode for the table.default CreateTableRequest.Builder
cdcSpecification
(Consumer<CdcSpecification.Builder> cdcSpecification) The CDC stream settings of the table.cdcSpecification
(CdcSpecification cdcSpecification) The CDC stream settings of the table.default CreateTableRequest.Builder
clientSideTimestamps
(Consumer<ClientSideTimestamps.Builder> clientSideTimestamps) Enables client-side timestamps for the table.clientSideTimestamps
(ClientSideTimestamps clientSideTimestamps) Enables client-side timestamps for the table.default CreateTableRequest.Builder
comment
(Consumer<Comment.Builder> comment) This parameter allows to enter a description of the table.This parameter allows to enter a description of the table.defaultTimeToLive
(Integer defaultTimeToLive) The default Time to Live setting in seconds for the table.default CreateTableRequest.Builder
encryptionSpecification
(Consumer<EncryptionSpecification.Builder> encryptionSpecification) Specifies how the encryption key for encryption at rest is managed for the table.encryptionSpecification
(EncryptionSpecification encryptionSpecification) Specifies how the encryption key for encryption at rest is managed for the table.keyspaceName
(String keyspaceName) The name of the keyspace that the table is going to be created in.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default CreateTableRequest.Builder
pointInTimeRecovery
(Consumer<PointInTimeRecovery.Builder> pointInTimeRecovery) Specifies ifpointInTimeRecovery
is enabled or disabled for the table.pointInTimeRecovery
(PointInTimeRecovery pointInTimeRecovery) Specifies ifpointInTimeRecovery
is enabled or disabled for the table.replicaSpecifications
(Collection<ReplicaSpecification> replicaSpecifications) The optional Amazon Web Services Region specific settings of a multi-Region table.replicaSpecifications
(Consumer<ReplicaSpecification.Builder>... replicaSpecifications) The optional Amazon Web Services Region specific settings of a multi-Region table.replicaSpecifications
(ReplicaSpecification... replicaSpecifications) The optional Amazon Web Services Region specific settings of a multi-Region table.default CreateTableRequest.Builder
schemaDefinition
(Consumer<SchemaDefinition.Builder> schemaDefinition) TheschemaDefinition
consists of the following parameters.schemaDefinition
(SchemaDefinition schemaDefinition) TheschemaDefinition
consists of the following parameters.The name of the table.tags
(Collection<Tag> tags) A list of key-value pair tags to be attached to the resource.tags
(Consumer<Tag.Builder>... tags) A list of key-value pair tags to be attached to the resource.A list of key-value pair tags to be attached to the resource.default CreateTableRequest.Builder
ttl
(Consumer<TimeToLive.Builder> ttl) Enables Time to Live custom settings for the table.ttl
(TimeToLive ttl) Enables Time to Live custom settings for the table.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.keyspaces.model.KeyspacesRequest.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
-
keyspaceName
The name of the keyspace that the table is going to be created in.
- Parameters:
keyspaceName
- The name of the keyspace that the table is going to be created in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tableName
The name of the table.
- Parameters:
tableName
- The name of the table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schemaDefinition
The
schemaDefinition
consists of the following parameters.For each column to be created:
-
name
- The name of the column. -
type
- An Amazon Keyspaces data type. For more information, see Data types in the Amazon Keyspaces Developer Guide.
The primary key of the table consists of the following columns:
-
partitionKeys
- The partition key can be a single column, or it can be a compound value composed of two or more columns. The partition key portion of the primary key is required and determines how Amazon Keyspaces stores your data. -
name
- The name of each partition key column. -
clusteringKeys
- The optional clustering column portion of your primary key determines how the data is clustered and sorted within each partition. -
name
- The name of the clustering column. -
orderBy
- Sets the ascendant (ASC
) or descendant (DESC
) order modifier.To define a column as static use
staticColumns
- Static columns store values that are shared by all rows in the same partition: -
name
- The name of the column. -
type
- An Amazon Keyspaces data type.
- Parameters:
schemaDefinition
- TheschemaDefinition
consists of the following parameters.For each column to be created:
-
name
- The name of the column. -
type
- An Amazon Keyspaces data type. For more information, see Data types in the Amazon Keyspaces Developer Guide.
The primary key of the table consists of the following columns:
-
partitionKeys
- The partition key can be a single column, or it can be a compound value composed of two or more columns. The partition key portion of the primary key is required and determines how Amazon Keyspaces stores your data. -
name
- The name of each partition key column. -
clusteringKeys
- The optional clustering column portion of your primary key determines how the data is clustered and sorted within each partition. -
name
- The name of the clustering column. -
orderBy
- Sets the ascendant (ASC
) or descendant (DESC
) order modifier.To define a column as static use
staticColumns
- Static columns store values that are shared by all rows in the same partition: -
name
- The name of the column. -
type
- An Amazon Keyspaces data type.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
schemaDefinition
default CreateTableRequest.Builder schemaDefinition(Consumer<SchemaDefinition.Builder> schemaDefinition) The
schemaDefinition
consists of the following parameters.For each column to be created:
-
name
- The name of the column. -
type
- An Amazon Keyspaces data type. For more information, see Data types in the Amazon Keyspaces Developer Guide.
The primary key of the table consists of the following columns:
-
partitionKeys
- The partition key can be a single column, or it can be a compound value composed of two or more columns. The partition key portion of the primary key is required and determines how Amazon Keyspaces stores your data. -
name
- The name of each partition key column. -
clusteringKeys
- The optional clustering column portion of your primary key determines how the data is clustered and sorted within each partition. -
name
- The name of the clustering column. -
orderBy
- Sets the ascendant (ASC
) or descendant (DESC
) order modifier.To define a column as static use
staticColumns
- Static columns store values that are shared by all rows in the same partition: -
name
- The name of the column. -
type
- An Amazon Keyspaces data type.
SchemaDefinition.Builder
avoiding the need to create one manually viaSchemaDefinition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toschemaDefinition(SchemaDefinition)
.- Parameters:
schemaDefinition
- a consumer that will call methods onSchemaDefinition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
comment
This parameter allows to enter a description of the table.
- Parameters:
comment
- This parameter allows to enter a description of the table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
comment
This parameter allows to enter a description of the table.
This is a convenience method that creates an instance of theComment.Builder
avoiding the need to create one manually viaComment.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocomment(Comment)
.- Parameters:
comment
- a consumer that will call methods onComment.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
capacitySpecification
Specifies the read/write throughput capacity mode for the table. The options are:
-
throughputMode:PAY_PER_REQUEST
and -
throughputMode:PROVISIONED
- Provisioned capacity mode requiresreadCapacityUnits
andwriteCapacityUnits
as input.
The default is
throughput_mode:PAY_PER_REQUEST
.For more information, see Read/write capacity modes in the Amazon Keyspaces Developer Guide.
- Parameters:
capacitySpecification
- Specifies the read/write throughput capacity mode for the table. The options are:-
throughputMode:PAY_PER_REQUEST
and -
throughputMode:PROVISIONED
- Provisioned capacity mode requiresreadCapacityUnits
andwriteCapacityUnits
as input.
The default is
throughput_mode:PAY_PER_REQUEST
.For more information, see Read/write capacity modes in the Amazon Keyspaces Developer Guide.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
capacitySpecification
default CreateTableRequest.Builder capacitySpecification(Consumer<CapacitySpecification.Builder> capacitySpecification) Specifies the read/write throughput capacity mode for the table. The options are:
-
throughputMode:PAY_PER_REQUEST
and -
throughputMode:PROVISIONED
- Provisioned capacity mode requiresreadCapacityUnits
andwriteCapacityUnits
as input.
The default is
throughput_mode:PAY_PER_REQUEST
.For more information, see Read/write capacity modes in the Amazon Keyspaces Developer Guide.
This is a convenience method that creates an instance of theCapacitySpecification.Builder
avoiding the need to create one manually viaCapacitySpecification.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocapacitySpecification(CapacitySpecification)
.- Parameters:
capacitySpecification
- a consumer that will call methods onCapacitySpecification.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
encryptionSpecification
Specifies how the encryption key for encryption at rest is managed for the table. You can choose one of the following KMS key (KMS key):
-
type:AWS_OWNED_KMS_KEY
- This key is owned by Amazon Keyspaces. -
type:CUSTOMER_MANAGED_KMS_KEY
- This key is stored in your account and is created, owned, and managed by you. This option requires thekms_key_identifier
of the KMS key in Amazon Resource Name (ARN) format as input.
The default is
type:AWS_OWNED_KMS_KEY
.For more information, see Encryption at rest in the Amazon Keyspaces Developer Guide.
- Parameters:
encryptionSpecification
- Specifies how the encryption key for encryption at rest is managed for the table. You can choose one of the following KMS key (KMS key):-
type:AWS_OWNED_KMS_KEY
- This key is owned by Amazon Keyspaces. -
type:CUSTOMER_MANAGED_KMS_KEY
- This key is stored in your account and is created, owned, and managed by you. This option requires thekms_key_identifier
of the KMS key in Amazon Resource Name (ARN) format as input.
The default is
type:AWS_OWNED_KMS_KEY
.For more information, see Encryption at rest in the Amazon Keyspaces Developer Guide.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
encryptionSpecification
default CreateTableRequest.Builder encryptionSpecification(Consumer<EncryptionSpecification.Builder> encryptionSpecification) Specifies how the encryption key for encryption at rest is managed for the table. You can choose one of the following KMS key (KMS key):
-
type:AWS_OWNED_KMS_KEY
- This key is owned by Amazon Keyspaces. -
type:CUSTOMER_MANAGED_KMS_KEY
- This key is stored in your account and is created, owned, and managed by you. This option requires thekms_key_identifier
of the KMS key in Amazon Resource Name (ARN) format as input.
The default is
type:AWS_OWNED_KMS_KEY
.For more information, see Encryption at rest in the Amazon Keyspaces Developer Guide.
This is a convenience method that creates an instance of theEncryptionSpecification.Builder
avoiding the need to create one manually viaEncryptionSpecification.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toencryptionSpecification(EncryptionSpecification)
.- Parameters:
encryptionSpecification
- a consumer that will call methods onEncryptionSpecification.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
pointInTimeRecovery
Specifies if
pointInTimeRecovery
is enabled or disabled for the table. The options are:-
status=ENABLED
-
status=DISABLED
If it's not specified, the default is
status=DISABLED
.For more information, see Point-in-time recovery in the Amazon Keyspaces Developer Guide.
- Parameters:
pointInTimeRecovery
- Specifies ifpointInTimeRecovery
is enabled or disabled for the table. The options are:-
status=ENABLED
-
status=DISABLED
If it's not specified, the default is
status=DISABLED
.For more information, see Point-in-time recovery in the Amazon Keyspaces Developer Guide.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
pointInTimeRecovery
default CreateTableRequest.Builder pointInTimeRecovery(Consumer<PointInTimeRecovery.Builder> pointInTimeRecovery) Specifies if
pointInTimeRecovery
is enabled or disabled for the table. The options are:-
status=ENABLED
-
status=DISABLED
If it's not specified, the default is
status=DISABLED
.For more information, see Point-in-time recovery in the Amazon Keyspaces Developer Guide.
This is a convenience method that creates an instance of thePointInTimeRecovery.Builder
avoiding the need to create one manually viaPointInTimeRecovery.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topointInTimeRecovery(PointInTimeRecovery)
.- Parameters:
pointInTimeRecovery
- a consumer that will call methods onPointInTimeRecovery.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
ttl
Enables Time to Live custom settings for the table. The options are:
-
status:enabled
-
status:disabled
The default is
status:disabled
. Afterttl
is enabled, you can't disable it for the table.For more information, see Expiring data by using Amazon Keyspaces Time to Live (TTL) in the Amazon Keyspaces Developer Guide.
- Parameters:
ttl
- Enables Time to Live custom settings for the table. The options are:-
status:enabled
-
status:disabled
The default is
status:disabled
. Afterttl
is enabled, you can't disable it for the table.For more information, see Expiring data by using Amazon Keyspaces Time to Live (TTL) in the Amazon Keyspaces Developer Guide.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
ttl
Enables Time to Live custom settings for the table. The options are:
-
status:enabled
-
status:disabled
The default is
status:disabled
. Afterttl
is enabled, you can't disable it for the table.For more information, see Expiring data by using Amazon Keyspaces Time to Live (TTL) in the Amazon Keyspaces Developer Guide.
This is a convenience method that creates an instance of theTimeToLive.Builder
avoiding the need to create one manually viaTimeToLive.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tottl(TimeToLive)
.- Parameters:
ttl
- a consumer that will call methods onTimeToLive.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
defaultTimeToLive
The default Time to Live setting in seconds for the table.
For more information, see Setting the default TTL value for a table in the Amazon Keyspaces Developer Guide.
- Parameters:
defaultTimeToLive
- The default Time to Live setting in seconds for the table.For more information, see Setting the default TTL value for a table in the Amazon Keyspaces Developer Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of key-value pair tags to be attached to the resource.
For more information, see Adding tags and labels to Amazon Keyspaces resources in the Amazon Keyspaces Developer Guide.
- Parameters:
tags
- A list of key-value pair tags to be attached to the resource.For more information, see Adding tags and labels to Amazon Keyspaces resources in the Amazon Keyspaces Developer Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of key-value pair tags to be attached to the resource.
For more information, see Adding tags and labels to Amazon Keyspaces resources in the Amazon Keyspaces Developer Guide.
- Parameters:
tags
- A list of key-value pair tags to be attached to the resource.For more information, see Adding tags and labels to Amazon Keyspaces resources in the Amazon Keyspaces Developer Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of key-value pair tags to be attached to the resource.
For more information, see Adding tags and labels to Amazon Keyspaces resources in the Amazon Keyspaces Developer Guide.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientSideTimestamps
Enables client-side timestamps for the table. By default, the setting is disabled. You can enable client-side timestamps with the following option:
-
status: "enabled"
Once client-side timestamps are enabled for a table, this setting cannot be disabled.
- Parameters:
clientSideTimestamps
- Enables client-side timestamps for the table. By default, the setting is disabled. You can enable client-side timestamps with the following option:-
status: "enabled"
Once client-side timestamps are enabled for a table, this setting cannot be disabled.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
clientSideTimestamps
default CreateTableRequest.Builder clientSideTimestamps(Consumer<ClientSideTimestamps.Builder> clientSideTimestamps) Enables client-side timestamps for the table. By default, the setting is disabled. You can enable client-side timestamps with the following option:
-
status: "enabled"
Once client-side timestamps are enabled for a table, this setting cannot be disabled.
This is a convenience method that creates an instance of theClientSideTimestamps.Builder
avoiding the need to create one manually viaClientSideTimestamps.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toclientSideTimestamps(ClientSideTimestamps)
.- Parameters:
clientSideTimestamps
- a consumer that will call methods onClientSideTimestamps.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
autoScalingSpecification
CreateTableRequest.Builder autoScalingSpecification(AutoScalingSpecification autoScalingSpecification) The optional auto scaling settings for a table in provisioned capacity mode. Specifies if the service can manage throughput capacity automatically on your behalf.
Auto scaling helps you provision throughput capacity for variable workloads efficiently by increasing and decreasing your table's read and write capacity automatically in response to application traffic. For more information, see Managing throughput capacity automatically with Amazon Keyspaces auto scaling in the Amazon Keyspaces Developer Guide.
By default, auto scaling is disabled for a table.
- Parameters:
autoScalingSpecification
- The optional auto scaling settings for a table in provisioned capacity mode. Specifies if the service can manage throughput capacity automatically on your behalf.Auto scaling helps you provision throughput capacity for variable workloads efficiently by increasing and decreasing your table's read and write capacity automatically in response to application traffic. For more information, see Managing throughput capacity automatically with Amazon Keyspaces auto scaling in the Amazon Keyspaces Developer Guide.
By default, auto scaling is disabled for a table.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoScalingSpecification
default CreateTableRequest.Builder autoScalingSpecification(Consumer<AutoScalingSpecification.Builder> autoScalingSpecification) The optional auto scaling settings for a table in provisioned capacity mode. Specifies if the service can manage throughput capacity automatically on your behalf.
Auto scaling helps you provision throughput capacity for variable workloads efficiently by increasing and decreasing your table's read and write capacity automatically in response to application traffic. For more information, see Managing throughput capacity automatically with Amazon Keyspaces auto scaling in the Amazon Keyspaces Developer Guide.
By default, auto scaling is disabled for a table.
This is a convenience method that creates an instance of theAutoScalingSpecification.Builder
avoiding the need to create one manually viaAutoScalingSpecification.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toautoScalingSpecification(AutoScalingSpecification)
.- Parameters:
autoScalingSpecification
- a consumer that will call methods onAutoScalingSpecification.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
replicaSpecifications
CreateTableRequest.Builder replicaSpecifications(Collection<ReplicaSpecification> replicaSpecifications) The optional Amazon Web Services Region specific settings of a multi-Region table. These settings overwrite the general settings of the table for the specified Region.
For a multi-Region table in provisioned capacity mode, you can configure the table's read capacity differently for each Region's replica. The write capacity, however, remains synchronized between all replicas to ensure that there's enough capacity to replicate writes across all Regions. To define the read capacity for a table replica in a specific Region, you can do so by configuring the following parameters.
-
region
: The Region where these settings are applied. (Required) -
readCapacityUnits
: The provisioned read capacity units. (Optional) -
readCapacityAutoScaling
: The read capacity auto scaling settings for the table. (Optional)
- Parameters:
replicaSpecifications
- The optional Amazon Web Services Region specific settings of a multi-Region table. These settings overwrite the general settings of the table for the specified Region.For a multi-Region table in provisioned capacity mode, you can configure the table's read capacity differently for each Region's replica. The write capacity, however, remains synchronized between all replicas to ensure that there's enough capacity to replicate writes across all Regions. To define the read capacity for a table replica in a specific Region, you can do so by configuring the following parameters.
-
region
: The Region where these settings are applied. (Required) -
readCapacityUnits
: The provisioned read capacity units. (Optional) -
readCapacityAutoScaling
: The read capacity auto scaling settings for the table. (Optional)
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
replicaSpecifications
The optional Amazon Web Services Region specific settings of a multi-Region table. These settings overwrite the general settings of the table for the specified Region.
For a multi-Region table in provisioned capacity mode, you can configure the table's read capacity differently for each Region's replica. The write capacity, however, remains synchronized between all replicas to ensure that there's enough capacity to replicate writes across all Regions. To define the read capacity for a table replica in a specific Region, you can do so by configuring the following parameters.
-
region
: The Region where these settings are applied. (Required) -
readCapacityUnits
: The provisioned read capacity units. (Optional) -
readCapacityAutoScaling
: The read capacity auto scaling settings for the table. (Optional)
- Parameters:
replicaSpecifications
- The optional Amazon Web Services Region specific settings of a multi-Region table. These settings overwrite the general settings of the table for the specified Region.For a multi-Region table in provisioned capacity mode, you can configure the table's read capacity differently for each Region's replica. The write capacity, however, remains synchronized between all replicas to ensure that there's enough capacity to replicate writes across all Regions. To define the read capacity for a table replica in a specific Region, you can do so by configuring the following parameters.
-
region
: The Region where these settings are applied. (Required) -
readCapacityUnits
: The provisioned read capacity units. (Optional) -
readCapacityAutoScaling
: The read capacity auto scaling settings for the table. (Optional)
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
replicaSpecifications
CreateTableRequest.Builder replicaSpecifications(Consumer<ReplicaSpecification.Builder>... replicaSpecifications) The optional Amazon Web Services Region specific settings of a multi-Region table. These settings overwrite the general settings of the table for the specified Region.
For a multi-Region table in provisioned capacity mode, you can configure the table's read capacity differently for each Region's replica. The write capacity, however, remains synchronized between all replicas to ensure that there's enough capacity to replicate writes across all Regions. To define the read capacity for a table replica in a specific Region, you can do so by configuring the following parameters.
-
region
: The Region where these settings are applied. (Required) -
readCapacityUnits
: The provisioned read capacity units. (Optional) -
readCapacityAutoScaling
: The read capacity auto scaling settings for the table. (Optional)
ReplicaSpecification.Builder
avoiding the need to create one manually viaReplicaSpecification.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toreplicaSpecifications(List<ReplicaSpecification>)
.- Parameters:
replicaSpecifications
- a consumer that will call methods onReplicaSpecification.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
cdcSpecification
The CDC stream settings of the table.
- Parameters:
cdcSpecification
- The CDC stream settings of the table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cdcSpecification
default CreateTableRequest.Builder cdcSpecification(Consumer<CdcSpecification.Builder> cdcSpecification) The CDC stream settings of the table.
This is a convenience method that creates an instance of theCdcSpecification.Builder
avoiding the need to create one manually viaCdcSpecification.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocdcSpecification(CdcSpecification)
.- Parameters:
cdcSpecification
- a consumer that will call methods onCdcSpecification.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateTableRequest.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
CreateTableRequest.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.
-