pub struct Builder { /* private fields */ }
Expand description
A builder for AwsDynamoDbTableDetails
.
Implementations§
source§impl Builder
impl Builder
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 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 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. 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. 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 build(self) -> AwsDynamoDbTableDetails
pub fn build(self) -> AwsDynamoDbTableDetails
Consumes the builder and constructs a AwsDynamoDbTableDetails
.