#[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.
This field accepts only the specified formats. Timestamps can end with Z or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
-
YYYY-MM-DDTHH:MM:SSZ(for example,2019-01-31T23:00:00Z) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ(for example,2019-01-31T23:00:00.123456789Z) -
YYYY-MM-DDTHH:MM:SS+HH:MM(for example,2024-01-04T15:25:10+17:59) -
YYYY-MM-DDTHH:MM:SS-HHMM(for example,2024-01-04T15:25:10-1759) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM(for example,2024-01-04T15:25:10.123456789+17:59)
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.
This field accepts only the specified formats. Timestamps can end with Z or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
-
YYYY-MM-DDTHH:MM:SSZ(for example,2019-01-31T23:00:00Z) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ(for example,2019-01-31T23:00:00.123456789Z) -
YYYY-MM-DDTHH:MM:SS+HH:MM(for example,2024-01-04T15:25:10+17:59) -
YYYY-MM-DDTHH:MM:SS-HHMM(for example,2024-01-04T15:25:10-1759) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM(for example,2024-01-04T15:25:10.123456789+17:59)
sourcepub fn get_creation_date_time(&self) -> &Option<String>
pub fn get_creation_date_time(&self) -> &Option<String>
Indicates when the table was created.
This field accepts only the specified formats. Timestamps can end with Z or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
-
YYYY-MM-DDTHH:MM:SSZ(for example,2019-01-31T23:00:00Z) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ(for example,2019-01-31T23:00:00.123456789Z) -
YYYY-MM-DDTHH:MM:SS+HH:MM(for example,2024-01-04T15:25:10+17:59) -
YYYY-MM-DDTHH:MM:SS-HHMM(for example,2024-01-04T15:25:10-1759) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM(for example,2024-01-04T15:25:10.123456789+17:59)
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 ==.impl StructuralPartialEq for AwsDynamoDbTableDetailsBuilder
Auto Trait Implementations§
impl Freeze for AwsDynamoDbTableDetailsBuilder
impl RefUnwindSafe for AwsDynamoDbTableDetailsBuilder
impl Send for AwsDynamoDbTableDetailsBuilder
impl Sync for AwsDynamoDbTableDetailsBuilder
impl Unpin for AwsDynamoDbTableDetailsBuilder
impl UnwindSafe for AwsDynamoDbTableDetailsBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more