pub struct Builder { /* private fields */ }
Expand description
A builder for AwsDynamoDbTableGlobalSecondaryIndex
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn backfilling(self, input: bool) -> Self
pub fn backfilling(self, input: bool) -> Self
Whether the index is currently backfilling.
sourcepub fn set_backfilling(self, input: Option<bool>) -> Self
pub fn set_backfilling(self, input: Option<bool>) -> Self
Whether the index is currently backfilling.
sourcepub fn set_index_arn(self, input: Option<String>) -> Self
pub fn set_index_arn(self, input: Option<String>) -> Self
The ARN of the index.
sourcepub fn index_name(self, input: impl Into<String>) -> Self
pub fn index_name(self, input: impl Into<String>) -> Self
The name of the index.
sourcepub fn set_index_name(self, input: Option<String>) -> Self
pub fn set_index_name(self, input: Option<String>) -> Self
The name of the index.
sourcepub fn index_size_bytes(self, input: i64) -> Self
pub fn index_size_bytes(self, input: i64) -> Self
The total size in bytes of the index.
sourcepub fn set_index_size_bytes(self, input: Option<i64>) -> Self
pub fn set_index_size_bytes(self, input: Option<i64>) -> Self
The total size in bytes of the index.
sourcepub fn index_status(self, input: impl Into<String>) -> Self
pub fn index_status(self, input: impl Into<String>) -> Self
The current status of the index.
-
ACTIVE
-
CREATING
-
DELETING
-
UPDATING
sourcepub fn set_index_status(self, input: Option<String>) -> Self
pub fn set_index_status(self, input: Option<String>) -> Self
The current status of the index.
-
ACTIVE
-
CREATING
-
DELETING
-
UPDATING
sourcepub fn item_count(self, input: i32) -> Self
pub fn item_count(self, input: i32) -> Self
The number of items in the index.
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 index.
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 key schema for the index.
sourcepub fn set_key_schema(
self,
input: Option<Vec<AwsDynamoDbTableKeySchema>>
) -> Self
pub fn set_key_schema(
self,
input: Option<Vec<AwsDynamoDbTableKeySchema>>
) -> Self
The key schema for the index.
sourcepub fn projection(self, input: AwsDynamoDbTableProjection) -> Self
pub fn projection(self, input: AwsDynamoDbTableProjection) -> Self
Attributes that are copied from the table into an index.
sourcepub fn set_projection(self, input: Option<AwsDynamoDbTableProjection>) -> Self
pub fn set_projection(self, input: Option<AwsDynamoDbTableProjection>) -> Self
Attributes that are copied from the table into an index.
sourcepub fn provisioned_throughput(
self,
input: AwsDynamoDbTableProvisionedThroughput
) -> Self
pub fn provisioned_throughput(
self,
input: AwsDynamoDbTableProvisionedThroughput
) -> Self
Information about the provisioned throughput settings for the indexes.
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 settings for the indexes.
sourcepub fn build(self) -> AwsDynamoDbTableGlobalSecondaryIndex
pub fn build(self) -> AwsDynamoDbTableGlobalSecondaryIndex
Consumes the builder and constructs a AwsDynamoDbTableGlobalSecondaryIndex
.