@Generated(value="software.amazon.awssdk:codegen") public final class RestoreTableRequest extends KeyspacesRequest implements ToCopyableBuilder<RestoreTableRequest.Builder,RestoreTableRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
RestoreTableRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static RestoreTableRequest.Builder |
builder() |
CapacitySpecification |
capacitySpecificationOverride()
Specifies the read/write throughput capacity mode for the target table.
|
EncryptionSpecification |
encryptionSpecificationOverride()
Specifies the encryption settings for the target table.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTagsOverride()
For responses, this returns true if the service returned a value for the TagsOverride property.
|
PointInTimeRecovery |
pointInTimeRecoveryOverride()
Specifies the
pointInTimeRecovery settings for the target table. |
Instant |
restoreTimestamp()
The restore timestamp in ISO 8601 format.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends RestoreTableRequest.Builder> |
serializableBuilderClass() |
String |
sourceKeyspaceName()
The keyspace name of the source table.
|
String |
sourceTableName()
The name of the source table.
|
List<Tag> |
tagsOverride()
A list of key-value pair tags to be attached to the restored table.
|
String |
targetKeyspaceName()
The name of the target keyspace.
|
String |
targetTableName()
The name of the target table.
|
RestoreTableRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String sourceKeyspaceName()
The keyspace name of the source table.
public final String sourceTableName()
The name of the source table.
public final String targetKeyspaceName()
The name of the target keyspace.
public final String targetTableName()
The name of the target table.
public final Instant restoreTimestamp()
The restore timestamp in ISO 8601 format.
public final 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.
• 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 final 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.
• 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 final 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.
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 final boolean hasTagsOverride()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTagsOverride() method.
For more information, see Adding tags and labels to Amazon Keyspaces resources in the Amazon Keyspaces Developer Guide.
public RestoreTableRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<RestoreTableRequest.Builder,RestoreTableRequest>toBuilder in class KeyspacesRequestpublic static RestoreTableRequest.Builder builder()
public static Class<? extends RestoreTableRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2022. All rights reserved.