@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RestoreTableRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
RestoreTableRequest() |
Modifier and Type | Method and Description |
---|---|
RestoreTableRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
AutoScalingSpecification |
getAutoScalingSpecification()
The optional auto scaling settings for the restored table in provisioned capacity mode.
|
CapacitySpecification |
getCapacitySpecificationOverride()
Specifies the read/write throughput capacity mode for the target table.
|
EncryptionSpecification |
getEncryptionSpecificationOverride()
Specifies the encryption settings for the target table.
|
PointInTimeRecovery |
getPointInTimeRecoveryOverride()
Specifies the
pointInTimeRecovery settings for the target table. |
List<ReplicaSpecification> |
getReplicaSpecifications()
The optional Region specific settings of a multi-Regional table.
|
Date |
getRestoreTimestamp()
The restore timestamp in ISO 8601 format.
|
String |
getSourceKeyspaceName()
The keyspace name of the source table.
|
String |
getSourceTableName()
The name of the source table.
|
List<Tag> |
getTagsOverride()
A list of key-value pair tags to be attached to the restored table.
|
String |
getTargetKeyspaceName()
The name of the target keyspace.
|
String |
getTargetTableName()
The name of the target table.
|
int |
hashCode() |
void |
setAutoScalingSpecification(AutoScalingSpecification autoScalingSpecification)
The optional auto scaling settings for the restored table in provisioned capacity mode.
|
void |
setCapacitySpecificationOverride(CapacitySpecification capacitySpecificationOverride)
Specifies the read/write throughput capacity mode for the target table.
|
void |
setEncryptionSpecificationOverride(EncryptionSpecification encryptionSpecificationOverride)
Specifies the encryption settings for the target table.
|
void |
setPointInTimeRecoveryOverride(PointInTimeRecovery pointInTimeRecoveryOverride)
Specifies the
pointInTimeRecovery settings for the target table. |
void |
setReplicaSpecifications(Collection<ReplicaSpecification> replicaSpecifications)
The optional Region specific settings of a multi-Regional table.
|
void |
setRestoreTimestamp(Date restoreTimestamp)
The restore timestamp in ISO 8601 format.
|
void |
setSourceKeyspaceName(String sourceKeyspaceName)
The keyspace name of the source table.
|
void |
setSourceTableName(String sourceTableName)
The name of the source table.
|
void |
setTagsOverride(Collection<Tag> tagsOverride)
A list of key-value pair tags to be attached to the restored table.
|
void |
setTargetKeyspaceName(String targetKeyspaceName)
The name of the target keyspace.
|
void |
setTargetTableName(String targetTableName)
The name of the target table.
|
String |
toString()
Returns a string representation of this object.
|
RestoreTableRequest |
withAutoScalingSpecification(AutoScalingSpecification autoScalingSpecification)
The optional auto scaling settings for the restored table in provisioned capacity mode.
|
RestoreTableRequest |
withCapacitySpecificationOverride(CapacitySpecification capacitySpecificationOverride)
Specifies the read/write throughput capacity mode for the target table.
|
RestoreTableRequest |
withEncryptionSpecificationOverride(EncryptionSpecification encryptionSpecificationOverride)
Specifies the encryption settings for the target table.
|
RestoreTableRequest |
withPointInTimeRecoveryOverride(PointInTimeRecovery pointInTimeRecoveryOverride)
Specifies the
pointInTimeRecovery settings for the target table. |
RestoreTableRequest |
withReplicaSpecifications(Collection<ReplicaSpecification> replicaSpecifications)
The optional Region specific settings of a multi-Regional table.
|
RestoreTableRequest |
withReplicaSpecifications(ReplicaSpecification... replicaSpecifications)
The optional Region specific settings of a multi-Regional table.
|
RestoreTableRequest |
withRestoreTimestamp(Date restoreTimestamp)
The restore timestamp in ISO 8601 format.
|
RestoreTableRequest |
withSourceKeyspaceName(String sourceKeyspaceName)
The keyspace name of the source table.
|
RestoreTableRequest |
withSourceTableName(String sourceTableName)
The name of the source table.
|
RestoreTableRequest |
withTagsOverride(Collection<Tag> tagsOverride)
A list of key-value pair tags to be attached to the restored table.
|
RestoreTableRequest |
withTagsOverride(Tag... tagsOverride)
A list of key-value pair tags to be attached to the restored table.
|
RestoreTableRequest |
withTargetKeyspaceName(String targetKeyspaceName)
The name of the target keyspace.
|
RestoreTableRequest |
withTargetTableName(String targetTableName)
The name of the target table.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setSourceKeyspaceName(String sourceKeyspaceName)
The keyspace name of the source table.
sourceKeyspaceName
- The keyspace name of the source table.public String getSourceKeyspaceName()
The keyspace name of the source table.
public RestoreTableRequest withSourceKeyspaceName(String sourceKeyspaceName)
The keyspace name of the source table.
sourceKeyspaceName
- The keyspace name of the source table.public void setSourceTableName(String sourceTableName)
The name of the source table.
sourceTableName
- The name of the source table.public String getSourceTableName()
The name of the source table.
public RestoreTableRequest withSourceTableName(String sourceTableName)
The name of the source table.
sourceTableName
- The name of the source table.public void setTargetKeyspaceName(String targetKeyspaceName)
The name of the target keyspace.
targetKeyspaceName
- The name of the target keyspace.public String getTargetKeyspaceName()
The name of the target keyspace.
public RestoreTableRequest withTargetKeyspaceName(String targetKeyspaceName)
The name of the target keyspace.
targetKeyspaceName
- The name of the target keyspace.public void setTargetTableName(String targetTableName)
The name of the target table.
targetTableName
- The name of the target table.public String getTargetTableName()
The name of the target table.
public RestoreTableRequest withTargetTableName(String targetTableName)
The name of the target table.
targetTableName
- The name of the target table.public void setRestoreTimestamp(Date restoreTimestamp)
The restore timestamp in ISO 8601 format.
restoreTimestamp
- The restore timestamp in ISO 8601 format.public Date getRestoreTimestamp()
The restore timestamp in ISO 8601 format.
public RestoreTableRequest withRestoreTimestamp(Date restoreTimestamp)
The restore timestamp in ISO 8601 format.
restoreTimestamp
- The restore timestamp in ISO 8601 format.public void setCapacitySpecificationOverride(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 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.
capacitySpecificationOverride
- Specifies the read/write throughput capacity mode for the target table. The options are:
throughputMode:PAY_PER_REQUEST
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.
public CapacitySpecification getCapacitySpecificationOverride()
Specifies the read/write throughput capacity mode for the target table. The options are:
throughputMode:PAY_PER_REQUEST
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.
throughputMode:PAY_PER_REQUEST
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.
public RestoreTableRequest withCapacitySpecificationOverride(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 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.
capacitySpecificationOverride
- Specifies the read/write throughput capacity mode for the target table. The options are:
throughputMode:PAY_PER_REQUEST
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.
public void setEncryptionSpecificationOverride(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 the kms_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.
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 the kms_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.
public EncryptionSpecification getEncryptionSpecificationOverride()
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 the kms_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.
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 type:AWS_OWNED_KMS_KEY
.
For more information, see Encryption at rest in the Amazon Keyspaces Developer Guide.
public RestoreTableRequest withEncryptionSpecificationOverride(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 the kms_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.
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 the kms_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.
public void setPointInTimeRecoveryOverride(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.
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.
public PointInTimeRecovery getPointInTimeRecoveryOverride()
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.
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.
public RestoreTableRequest withPointInTimeRecoveryOverride(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.
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.
public List<Tag> getTagsOverride()
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.
For more information, see Adding tags and labels to Amazon Keyspaces resources in the Amazon Keyspaces Developer Guide.
public void setTagsOverride(Collection<Tag> 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.
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.
public RestoreTableRequest withTagsOverride(Tag... 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.
NOTE: This method appends the values to the existing list (if any). Use
setTagsOverride(java.util.Collection)
or withTagsOverride(java.util.Collection)
if you want to
override the existing values.
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.
public RestoreTableRequest withTagsOverride(Collection<Tag> 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.
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.
public void setAutoScalingSpecification(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.
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.
public AutoScalingSpecification getAutoScalingSpecification()
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.
For more information, see Managing throughput capacity automatically with Amazon Keyspaces auto scaling in the Amazon Keyspaces Developer Guide.
public RestoreTableRequest withAutoScalingSpecification(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.
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.
public List<ReplicaSpecification> getReplicaSpecifications()
The optional Region specific settings of a multi-Regional table.
public void setReplicaSpecifications(Collection<ReplicaSpecification> replicaSpecifications)
The optional Region specific settings of a multi-Regional table.
replicaSpecifications
- The optional Region specific settings of a multi-Regional table.public RestoreTableRequest withReplicaSpecifications(ReplicaSpecification... replicaSpecifications)
The optional Region specific settings of a multi-Regional table.
NOTE: This method appends the values to the existing list (if any). Use
setReplicaSpecifications(java.util.Collection)
or
withReplicaSpecifications(java.util.Collection)
if you want to override the existing values.
replicaSpecifications
- The optional Region specific settings of a multi-Regional table.public RestoreTableRequest withReplicaSpecifications(Collection<ReplicaSpecification> replicaSpecifications)
The optional Region specific settings of a multi-Regional table.
replicaSpecifications
- The optional Region specific settings of a multi-Regional table.public String toString()
toString
in class Object
Object.toString()
public RestoreTableRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()