#[non_exhaustive]pub struct AwsDynamoDbTableDetailsBuilder { /* private fields */ }
Expand description
A builder for AwsDynamoDbTableDetails
.
Implementations§
source§impl AwsDynamoDbTableDetailsBuilder
impl AwsDynamoDbTableDetailsBuilder
sourcepub fn attribute_definitions(
self,
input: AwsDynamoDbTableAttributeDefinition
) -> Self
pub fn attribute_definitions( self, input: AwsDynamoDbTableAttributeDefinition ) -> Self
Appends an item to attribute_definitions
.
To override the contents of this collection use set_attribute_definitions
.
A list of attribute definitions for the table.
sourcepub fn set_attribute_definitions(
self,
input: Option<Vec<AwsDynamoDbTableAttributeDefinition>>
) -> Self
pub fn set_attribute_definitions( self, input: Option<Vec<AwsDynamoDbTableAttributeDefinition>> ) -> Self
A list of attribute definitions for the table.
sourcepub fn get_attribute_definitions(
&self
) -> &Option<Vec<AwsDynamoDbTableAttributeDefinition>>
pub fn get_attribute_definitions( &self ) -> &Option<Vec<AwsDynamoDbTableAttributeDefinition>>
A list of attribute definitions for the table.
sourcepub fn billing_mode_summary(
self,
input: AwsDynamoDbTableBillingModeSummary
) -> Self
pub fn billing_mode_summary( self, input: AwsDynamoDbTableBillingModeSummary ) -> Self
Information about the billing for read/write capacity on the table.
sourcepub fn set_billing_mode_summary(
self,
input: Option<AwsDynamoDbTableBillingModeSummary>
) -> Self
pub fn set_billing_mode_summary( self, input: Option<AwsDynamoDbTableBillingModeSummary> ) -> Self
Information about the billing for read/write capacity on the table.
sourcepub fn get_billing_mode_summary(
&self
) -> &Option<AwsDynamoDbTableBillingModeSummary>
pub fn get_billing_mode_summary( &self ) -> &Option<AwsDynamoDbTableBillingModeSummary>
Information about the billing for read/write capacity on the table.
sourcepub fn creation_date_time(self, input: impl Into<String>) -> Self
pub fn creation_date_time(self, input: impl Into<String>) -> Self
Indicates when the table was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
sourcepub fn set_creation_date_time(self, input: Option<String>) -> Self
pub fn set_creation_date_time(self, input: Option<String>) -> Self
Indicates when the table was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
sourcepub fn get_creation_date_time(&self) -> &Option<String>
pub fn get_creation_date_time(&self) -> &Option<String>
Indicates when the table was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
sourcepub fn global_secondary_indexes(
self,
input: AwsDynamoDbTableGlobalSecondaryIndex
) -> Self
pub fn global_secondary_indexes( self, input: AwsDynamoDbTableGlobalSecondaryIndex ) -> Self
Appends an item to global_secondary_indexes
.
To override the contents of this collection use set_global_secondary_indexes
.
List of global secondary indexes for the table.
sourcepub fn set_global_secondary_indexes(
self,
input: Option<Vec<AwsDynamoDbTableGlobalSecondaryIndex>>
) -> Self
pub fn set_global_secondary_indexes( self, input: Option<Vec<AwsDynamoDbTableGlobalSecondaryIndex>> ) -> Self
List of global secondary indexes for the table.
sourcepub fn get_global_secondary_indexes(
&self
) -> &Option<Vec<AwsDynamoDbTableGlobalSecondaryIndex>>
pub fn get_global_secondary_indexes( &self ) -> &Option<Vec<AwsDynamoDbTableGlobalSecondaryIndex>>
List of global secondary indexes for the table.
sourcepub fn global_table_version(self, input: impl Into<String>) -> Self
pub fn global_table_version(self, input: impl Into<String>) -> Self
The version of global tables being used.
sourcepub fn set_global_table_version(self, input: Option<String>) -> Self
pub fn set_global_table_version(self, input: Option<String>) -> Self
The version of global tables being used.
sourcepub fn get_global_table_version(&self) -> &Option<String>
pub fn get_global_table_version(&self) -> &Option<String>
The version of global tables being used.
sourcepub fn item_count(self, input: i32) -> Self
pub fn item_count(self, input: i32) -> Self
The number of items in the table.
sourcepub fn set_item_count(self, input: Option<i32>) -> Self
pub fn set_item_count(self, input: Option<i32>) -> Self
The number of items in the table.
sourcepub fn get_item_count(&self) -> &Option<i32>
pub fn get_item_count(&self) -> &Option<i32>
The number of items in the table.
sourcepub fn key_schema(self, input: AwsDynamoDbTableKeySchema) -> Self
pub fn key_schema(self, input: AwsDynamoDbTableKeySchema) -> Self
Appends an item to key_schema
.
To override the contents of this collection use set_key_schema
.
The primary key structure for the table.
sourcepub fn set_key_schema(
self,
input: Option<Vec<AwsDynamoDbTableKeySchema>>
) -> Self
pub fn set_key_schema( self, input: Option<Vec<AwsDynamoDbTableKeySchema>> ) -> Self
The primary key structure for the table.
sourcepub fn get_key_schema(&self) -> &Option<Vec<AwsDynamoDbTableKeySchema>>
pub fn get_key_schema(&self) -> &Option<Vec<AwsDynamoDbTableKeySchema>>
The primary key structure for the table.
sourcepub fn latest_stream_arn(self, input: impl Into<String>) -> Self
pub fn latest_stream_arn(self, input: impl Into<String>) -> Self
The ARN of the latest stream for the table.
sourcepub fn set_latest_stream_arn(self, input: Option<String>) -> Self
pub fn set_latest_stream_arn(self, input: Option<String>) -> Self
The ARN of the latest stream for the table.
sourcepub fn get_latest_stream_arn(&self) -> &Option<String>
pub fn get_latest_stream_arn(&self) -> &Option<String>
The ARN of the latest stream for the table.
sourcepub fn latest_stream_label(self, input: impl Into<String>) -> Self
pub fn latest_stream_label(self, input: impl Into<String>) -> Self
The label of the latest stream. The label is not a unique identifier.
sourcepub fn set_latest_stream_label(self, input: Option<String>) -> Self
pub fn set_latest_stream_label(self, input: Option<String>) -> Self
The label of the latest stream. The label is not a unique identifier.
sourcepub fn get_latest_stream_label(&self) -> &Option<String>
pub fn get_latest_stream_label(&self) -> &Option<String>
The label of the latest stream. The label is not a unique identifier.
sourcepub fn local_secondary_indexes(
self,
input: AwsDynamoDbTableLocalSecondaryIndex
) -> Self
pub fn local_secondary_indexes( self, input: AwsDynamoDbTableLocalSecondaryIndex ) -> Self
Appends an item to local_secondary_indexes
.
To override the contents of this collection use set_local_secondary_indexes
.
The list of local secondary indexes for the table.
sourcepub fn set_local_secondary_indexes(
self,
input: Option<Vec<AwsDynamoDbTableLocalSecondaryIndex>>
) -> Self
pub fn set_local_secondary_indexes( self, input: Option<Vec<AwsDynamoDbTableLocalSecondaryIndex>> ) -> Self
The list of local secondary indexes for the table.
sourcepub fn get_local_secondary_indexes(
&self
) -> &Option<Vec<AwsDynamoDbTableLocalSecondaryIndex>>
pub fn get_local_secondary_indexes( &self ) -> &Option<Vec<AwsDynamoDbTableLocalSecondaryIndex>>
The list of local secondary indexes for the table.
sourcepub fn provisioned_throughput(
self,
input: AwsDynamoDbTableProvisionedThroughput
) -> Self
pub fn provisioned_throughput( self, input: AwsDynamoDbTableProvisionedThroughput ) -> Self
Information about the provisioned throughput for the table.
sourcepub fn set_provisioned_throughput(
self,
input: Option<AwsDynamoDbTableProvisionedThroughput>
) -> Self
pub fn set_provisioned_throughput( self, input: Option<AwsDynamoDbTableProvisionedThroughput> ) -> Self
Information about the provisioned throughput for the table.
sourcepub fn get_provisioned_throughput(
&self
) -> &Option<AwsDynamoDbTableProvisionedThroughput>
pub fn get_provisioned_throughput( &self ) -> &Option<AwsDynamoDbTableProvisionedThroughput>
Information about the provisioned throughput for the table.
sourcepub fn replicas(self, input: AwsDynamoDbTableReplica) -> Self
pub fn replicas(self, input: AwsDynamoDbTableReplica) -> Self
Appends an item to replicas
.
To override the contents of this collection use set_replicas
.
The list of replicas of this table.
sourcepub fn set_replicas(self, input: Option<Vec<AwsDynamoDbTableReplica>>) -> Self
pub fn set_replicas(self, input: Option<Vec<AwsDynamoDbTableReplica>>) -> Self
The list of replicas of this table.
sourcepub fn get_replicas(&self) -> &Option<Vec<AwsDynamoDbTableReplica>>
pub fn get_replicas(&self) -> &Option<Vec<AwsDynamoDbTableReplica>>
The list of replicas of this table.
sourcepub fn restore_summary(self, input: AwsDynamoDbTableRestoreSummary) -> Self
pub fn restore_summary(self, input: AwsDynamoDbTableRestoreSummary) -> Self
Information about the restore for the table.
sourcepub fn set_restore_summary(
self,
input: Option<AwsDynamoDbTableRestoreSummary>
) -> Self
pub fn set_restore_summary( self, input: Option<AwsDynamoDbTableRestoreSummary> ) -> Self
Information about the restore for the table.
sourcepub fn get_restore_summary(&self) -> &Option<AwsDynamoDbTableRestoreSummary>
pub fn get_restore_summary(&self) -> &Option<AwsDynamoDbTableRestoreSummary>
Information about the restore for the table.
sourcepub fn sse_description(self, input: AwsDynamoDbTableSseDescription) -> Self
pub fn sse_description(self, input: AwsDynamoDbTableSseDescription) -> Self
Information about the server-side encryption for the table.
sourcepub fn set_sse_description(
self,
input: Option<AwsDynamoDbTableSseDescription>
) -> Self
pub fn set_sse_description( self, input: Option<AwsDynamoDbTableSseDescription> ) -> Self
Information about the server-side encryption for the table.
sourcepub fn get_sse_description(&self) -> &Option<AwsDynamoDbTableSseDescription>
pub fn get_sse_description(&self) -> &Option<AwsDynamoDbTableSseDescription>
Information about the server-side encryption for the table.
sourcepub fn stream_specification(
self,
input: AwsDynamoDbTableStreamSpecification
) -> Self
pub fn stream_specification( self, input: AwsDynamoDbTableStreamSpecification ) -> Self
The current DynamoDB Streams configuration for the table.
sourcepub fn set_stream_specification(
self,
input: Option<AwsDynamoDbTableStreamSpecification>
) -> Self
pub fn set_stream_specification( self, input: Option<AwsDynamoDbTableStreamSpecification> ) -> Self
The current DynamoDB Streams configuration for the table.
sourcepub fn get_stream_specification(
&self
) -> &Option<AwsDynamoDbTableStreamSpecification>
pub fn get_stream_specification( &self ) -> &Option<AwsDynamoDbTableStreamSpecification>
The current DynamoDB Streams configuration for the table.
sourcepub fn set_table_id(self, input: Option<String>) -> Self
pub fn set_table_id(self, input: Option<String>) -> Self
The identifier of the table.
sourcepub fn get_table_id(&self) -> &Option<String>
pub fn get_table_id(&self) -> &Option<String>
The identifier of the table.
sourcepub fn table_name(self, input: impl Into<String>) -> Self
pub fn table_name(self, input: impl Into<String>) -> Self
The name of the table.
sourcepub fn set_table_name(self, input: Option<String>) -> Self
pub fn set_table_name(self, input: Option<String>) -> Self
The name of the table.
sourcepub fn get_table_name(&self) -> &Option<String>
pub fn get_table_name(&self) -> &Option<String>
The name of the table.
sourcepub fn table_size_bytes(self, input: i64) -> Self
pub fn table_size_bytes(self, input: i64) -> Self
The total size of the table in bytes.
sourcepub fn set_table_size_bytes(self, input: Option<i64>) -> Self
pub fn set_table_size_bytes(self, input: Option<i64>) -> Self
The total size of the table in bytes.
sourcepub fn get_table_size_bytes(&self) -> &Option<i64>
pub fn get_table_size_bytes(&self) -> &Option<i64>
The total size of the table in bytes.
sourcepub fn table_status(self, input: impl Into<String>) -> Self
pub fn table_status(self, input: impl Into<String>) -> Self
The current status of the table. Valid values are as follows:
-
ACTIVE
-
ARCHIVED
-
ARCHIVING
-
CREATING
-
DELETING
-
INACCESSIBLE_ENCRYPTION_CREDENTIALS
-
UPDATING
sourcepub fn set_table_status(self, input: Option<String>) -> Self
pub fn set_table_status(self, input: Option<String>) -> Self
The current status of the table. Valid values are as follows:
-
ACTIVE
-
ARCHIVED
-
ARCHIVING
-
CREATING
-
DELETING
-
INACCESSIBLE_ENCRYPTION_CREDENTIALS
-
UPDATING
sourcepub fn get_table_status(&self) -> &Option<String>
pub fn get_table_status(&self) -> &Option<String>
The current status of the table. Valid values are as follows:
-
ACTIVE
-
ARCHIVED
-
ARCHIVING
-
CREATING
-
DELETING
-
INACCESSIBLE_ENCRYPTION_CREDENTIALS
-
UPDATING
sourcepub fn deletion_protection_enabled(self, input: bool) -> Self
pub fn deletion_protection_enabled(self, input: bool) -> Self
Indicates whether deletion protection is to be enabled (true) or disabled (false) on the table.
sourcepub fn set_deletion_protection_enabled(self, input: Option<bool>) -> Self
pub fn set_deletion_protection_enabled(self, input: Option<bool>) -> Self
Indicates whether deletion protection is to be enabled (true) or disabled (false) on the table.
sourcepub fn get_deletion_protection_enabled(&self) -> &Option<bool>
pub fn get_deletion_protection_enabled(&self) -> &Option<bool>
Indicates whether deletion protection is to be enabled (true) or disabled (false) on the table.
sourcepub fn build(self) -> AwsDynamoDbTableDetails
pub fn build(self) -> AwsDynamoDbTableDetails
Consumes the builder and constructs a AwsDynamoDbTableDetails
.
Trait Implementations§
source§impl Clone for AwsDynamoDbTableDetailsBuilder
impl Clone for AwsDynamoDbTableDetailsBuilder
source§fn clone(&self) -> AwsDynamoDbTableDetailsBuilder
fn clone(&self) -> AwsDynamoDbTableDetailsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AwsDynamoDbTableDetailsBuilder
impl Default for AwsDynamoDbTableDetailsBuilder
source§fn default() -> AwsDynamoDbTableDetailsBuilder
fn default() -> AwsDynamoDbTableDetailsBuilder
source§impl PartialEq for AwsDynamoDbTableDetailsBuilder
impl PartialEq for AwsDynamoDbTableDetailsBuilder
source§fn eq(&self, other: &AwsDynamoDbTableDetailsBuilder) -> bool
fn eq(&self, other: &AwsDynamoDbTableDetailsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.