public static interface UpdateTableRequest.Builder extends KeyspacesRequest.Builder, SdkPojo, CopyableBuilder<UpdateTableRequest.Builder,UpdateTableRequest>
| Modifier and Type | Method and Description |
|---|---|
UpdateTableRequest.Builder |
addColumns(Collection<ColumnDefinition> addColumns)
For each column to be added to the specified table:
|
UpdateTableRequest.Builder |
addColumns(ColumnDefinition... addColumns)
For each column to be added to the specified table:
|
UpdateTableRequest.Builder |
addColumns(Consumer<ColumnDefinition.Builder>... addColumns)
For each column to be added to the specified table:
|
UpdateTableRequest.Builder |
capacitySpecification(CapacitySpecification capacitySpecification)
Modifies the read/write throughput capacity mode for the table.
|
default UpdateTableRequest.Builder |
capacitySpecification(Consumer<CapacitySpecification.Builder> capacitySpecification)
Modifies the read/write throughput capacity mode for the table.
|
UpdateTableRequest.Builder |
defaultTimeToLive(Integer defaultTimeToLive)
The default Time to Live setting in seconds for the table.
|
default UpdateTableRequest.Builder |
encryptionSpecification(Consumer<EncryptionSpecification.Builder> encryptionSpecification)
Modifies the encryption settings of the table.
|
UpdateTableRequest.Builder |
encryptionSpecification(EncryptionSpecification encryptionSpecification)
Modifies the encryption settings of the table.
|
UpdateTableRequest.Builder |
keyspaceName(String keyspaceName)
The name of the keyspace the specified table is stored in.
|
UpdateTableRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
UpdateTableRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
default UpdateTableRequest.Builder |
pointInTimeRecovery(Consumer<PointInTimeRecovery.Builder> pointInTimeRecovery)
Modifies the
pointInTimeRecovery settings of the table. |
UpdateTableRequest.Builder |
pointInTimeRecovery(PointInTimeRecovery pointInTimeRecovery)
Modifies the
pointInTimeRecovery settings of the table. |
UpdateTableRequest.Builder |
tableName(String tableName)
The name of the table.
|
default UpdateTableRequest.Builder |
ttl(Consumer<TimeToLive.Builder> ttl)
Modifies Time to Live custom settings for the table.
|
UpdateTableRequest.Builder |
ttl(TimeToLive ttl)
Modifies Time to Live custom settings for the table.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildUpdateTableRequest.Builder keyspaceName(String keyspaceName)
The name of the keyspace the specified table is stored in.
keyspaceName - The name of the keyspace the specified table is stored in.UpdateTableRequest.Builder tableName(String tableName)
The name of the table.
tableName - The name of the table.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.
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.
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.
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.
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.Builder avoiding the need to create
one manually via ColumnDefinition.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #addColumns(List.
addColumns - a consumer that will call methods on
ColumnDefinition.Builder#addColumns(java.util.Collection) UpdateTableRequest.Builder capacitySpecification(CapacitySpecification capacitySpecification)
Modifies the read/write throughput capacity mode for the table. The options are:
• throughputMode:PAY_PER_REQUEST and
• throughputMode:PROVISIONED - Provisioned capacity mode requires readCapacityUnits
and writeCapacityUnits as input.
The default is throughput_mode:PAY_PER_REQUEST.
For more information, see Read/write capacity modes in the Amazon Keyspaces Developer Guide.
capacitySpecification - Modifies the read/write throughput capacity mode for the table. The options are:
• throughputMode:PAY_PER_REQUEST and
• throughputMode:PROVISIONED - Provisioned capacity mode requires
readCapacityUnits and writeCapacityUnits as input.
The default is throughput_mode:PAY_PER_REQUEST.
For more information, see Read/write capacity modes in the Amazon Keyspaces Developer Guide.
default UpdateTableRequest.Builder capacitySpecification(Consumer<CapacitySpecification.Builder> capacitySpecification)
Modifies the read/write throughput capacity mode for the table. The options are:
• throughputMode:PAY_PER_REQUEST and
• throughputMode:PROVISIONED - Provisioned capacity mode requires readCapacityUnits
and writeCapacityUnits 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 via CapacitySpecification.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to capacitySpecification(CapacitySpecification).
capacitySpecification - a consumer that will call methods on CapacitySpecification.BuildercapacitySpecification(CapacitySpecification)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 the kms_key_identifier of 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.
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 the kms_key_identifier of 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.
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 the kms_key_identifier of 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.Builder avoiding
the need to create one manually via EncryptionSpecification.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to encryptionSpecification(EncryptionSpecification).
encryptionSpecification - a consumer that will call methods on EncryptionSpecification.BuilderencryptionSpecification(EncryptionSpecification)UpdateTableRequest.Builder pointInTimeRecovery(PointInTimeRecovery pointInTimeRecovery)
Modifies the pointInTimeRecovery settings of the table. The options are:
• ENABLED
• DISABLED
If it's not specified, the default is DISABLED.
For more information, see Point-in-time recovery in the Amazon Keyspaces Developer Guide.
pointInTimeRecovery - Modifies the pointInTimeRecovery settings of the table. The options are:
• ENABLED
• DISABLED
If it's not specified, the default is DISABLED.
For more information, see Point-in-time recovery in the Amazon Keyspaces Developer Guide.
default UpdateTableRequest.Builder pointInTimeRecovery(Consumer<PointInTimeRecovery.Builder> pointInTimeRecovery)
Modifies the pointInTimeRecovery settings of the table. The options are:
• ENABLED
• DISABLED
If it's not specified, the default is 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 via PointInTimeRecovery.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to pointInTimeRecovery(PointInTimeRecovery).
pointInTimeRecovery - a consumer that will call methods on PointInTimeRecovery.BuilderpointInTimeRecovery(PointInTimeRecovery)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. After ttl 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.
ttl - Modifies Time to Live custom settings for the table. The options are:
• status:enabled
• status:disabled
The default is status:disabled. After ttl 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.
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. After ttl 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 via TimeToLive.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to ttl(TimeToLive).
ttl - a consumer that will call methods on TimeToLive.Builderttl(TimeToLive)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.
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.
UpdateTableRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderUpdateTableRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.