#[non_exhaustive]pub struct RestoreTableInputBuilder { /* private fields */ }Expand description
A builder for RestoreTableInput.
Implementations§
source§impl RestoreTableInputBuilder
impl RestoreTableInputBuilder
sourcepub fn source_keyspace_name(self, input: impl Into<String>) -> Self
pub fn source_keyspace_name(self, input: impl Into<String>) -> Self
The keyspace name of the source table.
sourcepub fn set_source_keyspace_name(self, input: Option<String>) -> Self
pub fn set_source_keyspace_name(self, input: Option<String>) -> Self
The keyspace name of the source table.
sourcepub fn source_table_name(self, input: impl Into<String>) -> Self
pub fn source_table_name(self, input: impl Into<String>) -> Self
The name of the source table.
sourcepub fn set_source_table_name(self, input: Option<String>) -> Self
pub fn set_source_table_name(self, input: Option<String>) -> Self
The name of the source table.
sourcepub fn target_keyspace_name(self, input: impl Into<String>) -> Self
pub fn target_keyspace_name(self, input: impl Into<String>) -> Self
The name of the target keyspace.
sourcepub fn set_target_keyspace_name(self, input: Option<String>) -> Self
pub fn set_target_keyspace_name(self, input: Option<String>) -> Self
The name of the target keyspace.
sourcepub fn target_table_name(self, input: impl Into<String>) -> Self
pub fn target_table_name(self, input: impl Into<String>) -> Self
The name of the target table.
sourcepub fn set_target_table_name(self, input: Option<String>) -> Self
pub fn set_target_table_name(self, input: Option<String>) -> Self
The name of the target table.
sourcepub fn restore_timestamp(self, input: DateTime) -> Self
pub fn restore_timestamp(self, input: DateTime) -> Self
The restore timestamp in ISO 8601 format.
sourcepub fn set_restore_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_restore_timestamp(self, input: Option<DateTime>) -> Self
The restore timestamp in ISO 8601 format.
sourcepub fn capacity_specification_override(
self,
input: CapacitySpecification
) -> Self
pub fn capacity_specification_override( self, input: CapacitySpecification ) -> Self
Specifies the read/write throughput capacity mode for the target table. The options are:
-
throughputMode:PAY_PER_REQUEST -
throughputMode:PROVISIONED- Provisioned capacity mode requiresreadCapacityUnitsandwriteCapacityUnitsas input.
The default is throughput_mode:PAY_PER_REQUEST.
For more information, see Read/write capacity modes in the Amazon Keyspaces Developer Guide.
sourcepub fn set_capacity_specification_override(
self,
input: Option<CapacitySpecification>
) -> Self
pub fn set_capacity_specification_override( self, input: Option<CapacitySpecification> ) -> Self
Specifies the read/write throughput capacity mode for the target table. The options are:
-
throughputMode:PAY_PER_REQUEST -
throughputMode:PROVISIONED- Provisioned capacity mode requiresreadCapacityUnitsandwriteCapacityUnitsas input.
The default is throughput_mode:PAY_PER_REQUEST.
For more information, see Read/write capacity modes in the Amazon Keyspaces Developer Guide.
sourcepub fn encryption_specification_override(
self,
input: EncryptionSpecification
) -> Self
pub fn encryption_specification_override( self, input: EncryptionSpecification ) -> Self
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_identifierof 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.
sourcepub fn set_encryption_specification_override(
self,
input: Option<EncryptionSpecification>
) -> Self
pub fn set_encryption_specification_override( self, input: Option<EncryptionSpecification> ) -> Self
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_identifierof 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.
sourcepub fn point_in_time_recovery_override(self, input: PointInTimeRecovery) -> Self
pub fn point_in_time_recovery_override(self, input: PointInTimeRecovery) -> Self
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.
sourcepub fn set_point_in_time_recovery_override(
self,
input: Option<PointInTimeRecovery>
) -> Self
pub fn set_point_in_time_recovery_override( self, input: Option<PointInTimeRecovery> ) -> Self
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.
Appends an item to tags_override.
To override the contents of this collection use set_tags_override.
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.
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.
sourcepub fn build(self) -> Result<RestoreTableInput, BuildError>
pub fn build(self) -> Result<RestoreTableInput, BuildError>
Consumes the builder and constructs a RestoreTableInput.
Trait Implementations§
source§impl Clone for RestoreTableInputBuilder
impl Clone for RestoreTableInputBuilder
source§fn clone(&self) -> RestoreTableInputBuilder
fn clone(&self) -> RestoreTableInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for RestoreTableInputBuilder
impl Debug for RestoreTableInputBuilder
source§impl Default for RestoreTableInputBuilder
impl Default for RestoreTableInputBuilder
source§fn default() -> RestoreTableInputBuilder
fn default() -> RestoreTableInputBuilder
source§impl PartialEq<RestoreTableInputBuilder> for RestoreTableInputBuilder
impl PartialEq<RestoreTableInputBuilder> for RestoreTableInputBuilder
source§fn eq(&self, other: &RestoreTableInputBuilder) -> bool
fn eq(&self, other: &RestoreTableInputBuilder) -> bool
self and other values to be equal, and is used
by ==.