Interface RestoreTableRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<RestoreTableRequest.Builder,
,RestoreTableRequest> KeyspacesRequest.Builder
,SdkBuilder<RestoreTableRequest.Builder,
,RestoreTableRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
RestoreTableRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefault RestoreTableRequest.Builder
autoScalingSpecification
(Consumer<AutoScalingSpecification.Builder> autoScalingSpecification) The optional auto scaling settings for the restored table in provisioned capacity mode.autoScalingSpecification
(AutoScalingSpecification autoScalingSpecification) The optional auto scaling settings for the restored table in provisioned capacity mode.default RestoreTableRequest.Builder
capacitySpecificationOverride
(Consumer<CapacitySpecification.Builder> capacitySpecificationOverride) Specifies the read/write throughput capacity mode for the target table.capacitySpecificationOverride
(CapacitySpecification capacitySpecificationOverride) Specifies the read/write throughput capacity mode for the target table.default RestoreTableRequest.Builder
encryptionSpecificationOverride
(Consumer<EncryptionSpecification.Builder> encryptionSpecificationOverride) Specifies the encryption settings for the target table.encryptionSpecificationOverride
(EncryptionSpecification encryptionSpecificationOverride) Specifies the encryption settings for the target table.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default RestoreTableRequest.Builder
pointInTimeRecoveryOverride
(Consumer<PointInTimeRecovery.Builder> pointInTimeRecoveryOverride) Specifies thepointInTimeRecovery
settings for the target table.pointInTimeRecoveryOverride
(PointInTimeRecovery pointInTimeRecoveryOverride) Specifies thepointInTimeRecovery
settings for the target table.replicaSpecifications
(Collection<ReplicaSpecification> replicaSpecifications) The optional Region specific settings of a multi-Regional table.replicaSpecifications
(Consumer<ReplicaSpecification.Builder>... replicaSpecifications) The optional Region specific settings of a multi-Regional table.replicaSpecifications
(ReplicaSpecification... replicaSpecifications) The optional Region specific settings of a multi-Regional table.restoreTimestamp
(Instant restoreTimestamp) The restore timestamp in ISO 8601 format.sourceKeyspaceName
(String sourceKeyspaceName) The keyspace name of the source table.sourceTableName
(String sourceTableName) The name of the source table.tagsOverride
(Collection<Tag> tagsOverride) A list of key-value pair tags to be attached to the restored table.tagsOverride
(Consumer<Tag.Builder>... tagsOverride) A list of key-value pair tags to be attached to the restored table.tagsOverride
(Tag... tagsOverride) A list of key-value pair tags to be attached to the restored table.targetKeyspaceName
(String targetKeyspaceName) The name of the target keyspace.targetTableName
(String targetTableName) The name of the target 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
-
sourceKeyspaceName
The keyspace name of the source table.
- Parameters:
sourceKeyspaceName
- The keyspace name of the source table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceTableName
The name of the source table.
- Parameters:
sourceTableName
- The name of the source table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetKeyspaceName
The name of the target keyspace.
- Parameters:
targetKeyspaceName
- The name of the target keyspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetTableName
The name of the target table.
- Parameters:
targetTableName
- The name of the target table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
restoreTimestamp
The restore timestamp in ISO 8601 format.
- Parameters:
restoreTimestamp
- The restore timestamp in ISO 8601 format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacitySpecificationOverride
RestoreTableRequest.Builder capacitySpecificationOverride(CapacitySpecification capacitySpecificationOverride) Specifies the read/write throughput capacity mode for the target table. The options are:
-
throughputMode:PAY_PER_REQUEST
-
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:
capacitySpecificationOverride
- Specifies the read/write throughput capacity mode for the target table. The options are:-
throughputMode:PAY_PER_REQUEST
-
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.
-
-
capacitySpecificationOverride
default RestoreTableRequest.Builder capacitySpecificationOverride(Consumer<CapacitySpecification.Builder> capacitySpecificationOverride) Specifies the read/write throughput capacity mode for the target table. The options are:
-
throughputMode:PAY_PER_REQUEST
-
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 tocapacitySpecificationOverride(CapacitySpecification)
.- Parameters:
capacitySpecificationOverride
- 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:
-
-
encryptionSpecificationOverride
RestoreTableRequest.Builder encryptionSpecificationOverride(EncryptionSpecification encryptionSpecificationOverride) Specifies the encryption settings for the target 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:
encryptionSpecificationOverride
- Specifies the encryption settings for the target 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.
-
-
encryptionSpecificationOverride
default RestoreTableRequest.Builder encryptionSpecificationOverride(Consumer<EncryptionSpecification.Builder> encryptionSpecificationOverride) Specifies the encryption settings for the target 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 toencryptionSpecificationOverride(EncryptionSpecification)
.- Parameters:
encryptionSpecificationOverride
- 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:
-
-
pointInTimeRecoveryOverride
RestoreTableRequest.Builder pointInTimeRecoveryOverride(PointInTimeRecovery pointInTimeRecoveryOverride) Specifies the
pointInTimeRecovery
settings for the target 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:
pointInTimeRecoveryOverride
- Specifies thepointInTimeRecovery
settings for the target 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.
-
-
pointInTimeRecoveryOverride
default RestoreTableRequest.Builder pointInTimeRecoveryOverride(Consumer<PointInTimeRecovery.Builder> pointInTimeRecoveryOverride) Specifies the
pointInTimeRecovery
settings for the target 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 topointInTimeRecoveryOverride(PointInTimeRecovery)
.- Parameters:
pointInTimeRecoveryOverride
- 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:
-
-
tagsOverride
A list of key-value pair tags to be attached to the restored table.
For more information, see Adding tags and labels to Amazon Keyspaces resources in the Amazon Keyspaces Developer Guide.
- Parameters:
tagsOverride
- A list of key-value pair tags to be attached to the restored table.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.
-
tagsOverride
A list of key-value pair tags to be attached to the restored table.
For more information, see Adding tags and labels to Amazon Keyspaces resources in the Amazon Keyspaces Developer Guide.
- Parameters:
tagsOverride
- A list of key-value pair tags to be attached to the restored table.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.
-
tagsOverride
A list of key-value pair tags to be attached to the restored table.
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 totagsOverride(List<Tag>)
.- Parameters:
tagsOverride
- 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:
-
autoScalingSpecification
RestoreTableRequest.Builder autoScalingSpecification(AutoScalingSpecification autoScalingSpecification) The optional auto scaling settings for the restored table in provisioned capacity mode. Specifies if the service can manage throughput capacity of a provisioned table automatically on your behalf. Amazon Keyspaces 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.
- Parameters:
autoScalingSpecification
- The optional auto scaling settings for the restored table in provisioned capacity mode. Specifies if the service can manage throughput capacity of a provisioned table automatically on your behalf. Amazon Keyspaces 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoScalingSpecification
default RestoreTableRequest.Builder autoScalingSpecification(Consumer<AutoScalingSpecification.Builder> autoScalingSpecification) The optional auto scaling settings for the restored table in provisioned capacity mode. Specifies if the service can manage throughput capacity of a provisioned table automatically on your behalf. Amazon Keyspaces 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.
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
RestoreTableRequest.Builder replicaSpecifications(Collection<ReplicaSpecification> replicaSpecifications) The optional Region specific settings of a multi-Regional table.
- Parameters:
replicaSpecifications
- The optional Region specific settings of a multi-Regional table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicaSpecifications
The optional Region specific settings of a multi-Regional table.
- Parameters:
replicaSpecifications
- The optional Region specific settings of a multi-Regional table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicaSpecifications
RestoreTableRequest.Builder replicaSpecifications(Consumer<ReplicaSpecification.Builder>... replicaSpecifications) The optional Region specific settings of a multi-Regional table.
This is a convenience method that creates an instance of theReplicaSpecification.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:
-
overrideConfiguration
RestoreTableRequest.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
RestoreTableRequest.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.
-