Interface UpdateTableRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateTableRequest.Builder,UpdateTableRequest>,KeyspacesRequest.Builder,SdkBuilder<UpdateTableRequest.Builder,UpdateTableRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateTableRequest
public static interface UpdateTableRequest.Builder extends KeyspacesRequest.Builder, SdkPojo, CopyableBuilder<UpdateTableRequest.Builder,UpdateTableRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateTableRequest.BuilderaddColumns(Collection<ColumnDefinition> addColumns)For each column to be added to the specified table:UpdateTableRequest.BuilderaddColumns(Consumer<ColumnDefinition.Builder>... addColumns)For each column to be added to the specified table:UpdateTableRequest.BuilderaddColumns(ColumnDefinition... addColumns)For each column to be added to the specified table:default UpdateTableRequest.BuildercapacitySpecification(Consumer<CapacitySpecification.Builder> capacitySpecification)Modifies the read/write throughput capacity mode for the table.UpdateTableRequest.BuildercapacitySpecification(CapacitySpecification capacitySpecification)Modifies the read/write throughput capacity mode for the table.default UpdateTableRequest.BuilderclientSideTimestamps(Consumer<ClientSideTimestamps.Builder> clientSideTimestamps)Enables client-side timestamps for the table.UpdateTableRequest.BuilderclientSideTimestamps(ClientSideTimestamps clientSideTimestamps)Enables client-side timestamps for the table.UpdateTableRequest.BuilderdefaultTimeToLive(Integer defaultTimeToLive)The default Time to Live setting in seconds for the table.default UpdateTableRequest.BuilderencryptionSpecification(Consumer<EncryptionSpecification.Builder> encryptionSpecification)Modifies the encryption settings of the table.UpdateTableRequest.BuilderencryptionSpecification(EncryptionSpecification encryptionSpecification)Modifies the encryption settings of the table.UpdateTableRequest.BuilderkeyspaceName(String keyspaceName)The name of the keyspace the specified table is stored in.UpdateTableRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateTableRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default UpdateTableRequest.BuilderpointInTimeRecovery(Consumer<PointInTimeRecovery.Builder> pointInTimeRecovery)Modifies thepointInTimeRecoverysettings of the table.UpdateTableRequest.BuilderpointInTimeRecovery(PointInTimeRecovery pointInTimeRecovery)Modifies thepointInTimeRecoverysettings of the table.UpdateTableRequest.BuildertableName(String tableName)The name of the table.default UpdateTableRequest.Builderttl(Consumer<TimeToLive.Builder> ttl)Modifies Time to Live custom settings for the table.UpdateTableRequest.Builderttl(TimeToLive ttl)Modifies 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, sdkFields
-
-
-
-
Method Detail
-
keyspaceName
UpdateTableRequest.Builder keyspaceName(String keyspaceName)
The name of the keyspace the specified table is stored in.
- Parameters:
keyspaceName- The name of the keyspace the specified table is stored in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tableName
UpdateTableRequest.Builder tableName(String 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.
-
addColumns
UpdateTableRequest.Builder addColumns(Collection<ColumnDefinition> addColumns)
For each column to be added to the specified table:
-
name- The name of the column. -
type- An Amazon Keyspaces data type. For more information, see Data types in the Amazon Keyspaces Developer Guide.
- Parameters:
addColumns- For each column to be added to the specified table:-
name- The name of the column. -
type- An Amazon Keyspaces data type. For more information, see Data types in the Amazon Keyspaces Developer Guide.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
addColumns
UpdateTableRequest.Builder addColumns(ColumnDefinition... addColumns)
For each column to be added to the specified table:
-
name- The name of the column. -
type- An Amazon Keyspaces data type. For more information, see Data types in the Amazon Keyspaces Developer Guide.
- Parameters:
addColumns- For each column to be added to the specified table:-
name- The name of the column. -
type- An Amazon Keyspaces data type. For more information, see Data types in the Amazon Keyspaces Developer Guide.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
addColumns
UpdateTableRequest.Builder addColumns(Consumer<ColumnDefinition.Builder>... addColumns)
For each column to be added to the specified table:
-
name- The name of the column. -
type- An Amazon Keyspaces data type. For more information, see Data types in the Amazon Keyspaces Developer Guide.
ColumnDefinition.Builderavoiding the need to create one manually viaColumnDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#addColumns(List.) - Parameters:
addColumns- a consumer that will call methods onColumnDefinition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#addColumns(java.util.Collection)
-
-
capacitySpecification
UpdateTableRequest.Builder capacitySpecification(CapacitySpecification capacitySpecification)
Modifies the read/write throughput capacity mode for the table. The options are:
-
throughputMode:PAY_PER_REQUESTand -
throughputMode:PROVISIONED- Provisioned capacity mode requiresreadCapacityUnitsandwriteCapacityUnitsas 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- Modifies the read/write throughput capacity mode for the table. The options are:-
throughputMode:PAY_PER_REQUESTand -
throughputMode:PROVISIONED- Provisioned capacity mode requiresreadCapacityUnitsandwriteCapacityUnitsas 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 UpdateTableRequest.Builder capacitySpecification(Consumer<CapacitySpecification.Builder> capacitySpecification)
Modifies the read/write throughput capacity mode for the table. The options are:
-
throughputMode:PAY_PER_REQUESTand -
throughputMode:PROVISIONED- Provisioned capacity mode requiresreadCapacityUnitsandwriteCapacityUnitsas 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.Builderavoiding the need to create one manually viaCapacitySpecification.builder().When the
Consumercompletes,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:
capacitySpecification(CapacitySpecification)
-
-
encryptionSpecification
UpdateTableRequest.Builder encryptionSpecification(EncryptionSpecification encryptionSpecification)
Modifies the encryption settings of 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_identifierof the KMS key in Amazon Resource Name (ARN) format as input.
The default is
AWS_OWNED_KMS_KEY.For more information, see Encryption at rest in the Amazon Keyspaces Developer Guide.
- Parameters:
encryptionSpecification- Modifies the encryption settings of 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_identifierof the KMS key in Amazon Resource Name (ARN) format as input.
The default is
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 UpdateTableRequest.Builder encryptionSpecification(Consumer<EncryptionSpecification.Builder> encryptionSpecification)
Modifies the encryption settings of 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_identifierof the KMS key in Amazon Resource Name (ARN) format as input.
The default is
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.Builderavoiding the need to create one manually viaEncryptionSpecification.builder().When the
Consumercompletes,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:
encryptionSpecification(EncryptionSpecification)
-
-
pointInTimeRecovery
UpdateTableRequest.Builder pointInTimeRecovery(PointInTimeRecovery pointInTimeRecovery)
Modifies the
pointInTimeRecoverysettings of 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- Modifies thepointInTimeRecoverysettings of 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 UpdateTableRequest.Builder pointInTimeRecovery(Consumer<PointInTimeRecovery.Builder> pointInTimeRecovery)
Modifies the
pointInTimeRecoverysettings of 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.Builderavoiding the need to create one manually viaPointInTimeRecovery.builder().When the
Consumercompletes,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:
pointInTimeRecovery(PointInTimeRecovery)
-
-
ttl
UpdateTableRequest.Builder ttl(TimeToLive ttl)
Modifies Time to Live custom settings for the table. The options are:
-
status:enabled -
status:disabled
The default is
status:disabled. Afterttlis 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- Modifies Time to Live custom settings for the table. The options are:-
status:enabled -
status:disabled
The default is
status:disabled. Afterttlis 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
default UpdateTableRequest.Builder ttl(Consumer<TimeToLive.Builder> ttl)
Modifies Time to Live custom settings for the table. The options are:
-
status:enabled -
status:disabled
The default is
status:disabled. Afterttlis 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.Builderavoiding the need to create one manually viaTimeToLive.builder().When the
Consumercompletes,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:
ttl(TimeToLive)
-
-
defaultTimeToLive
UpdateTableRequest.Builder defaultTimeToLive(Integer 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.
-
clientSideTimestamps
UpdateTableRequest.Builder clientSideTimestamps(ClientSideTimestamps 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 UpdateTableRequest.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.Builderavoiding the need to create one manually viaClientSideTimestamps.builder().When the
Consumercompletes,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:
clientSideTimestamps(ClientSideTimestamps)
-
-
overrideConfiguration
UpdateTableRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateTableRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-