@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) |
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. |
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 |
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 |
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 |
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 |
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:
• 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.
pointInTimeRecoveryOverride
- Specifies the pointInTimeRecovery
settings for the target 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.
public PointInTimeRecovery getPointInTimeRecoveryOverride()
Specifies the pointInTimeRecovery
settings for the target 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
settings for the target 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.
public RestoreTableRequest withPointInTimeRecoveryOverride(PointInTimeRecovery pointInTimeRecoveryOverride)
Specifies the pointInTimeRecovery
settings for the target 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.
pointInTimeRecoveryOverride
- Specifies the pointInTimeRecovery
settings for the target 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.
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 String toString()
toString
in class Object
Object.toString()
public RestoreTableRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()