#[non_exhaustive]pub struct AwsDynamoDbTableGlobalSecondaryIndexBuilder { /* private fields */ }Expand description
A builder for AwsDynamoDbTableGlobalSecondaryIndex.
Implementations§
source§impl AwsDynamoDbTableGlobalSecondaryIndexBuilder
impl AwsDynamoDbTableGlobalSecondaryIndexBuilder
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 get_backfilling(&self) -> &Option<bool>
pub fn get_backfilling(&self) -> &Option<bool>
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 get_index_arn(&self) -> &Option<String>
pub fn get_index_arn(&self) -> &Option<String>
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 get_index_name(&self) -> &Option<String>
pub fn get_index_name(&self) -> &Option<String>
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 get_index_size_bytes(&self) -> &Option<i64>
pub fn get_index_size_bytes(&self) -> &Option<i64>
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 get_index_status(&self) -> &Option<String>
pub fn get_index_status(&self) -> &Option<String>
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 get_item_count(&self) -> &Option<i32>
pub fn get_item_count(&self) -> &Option<i32>
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 get_key_schema(&self) -> &Option<Vec<AwsDynamoDbTableKeySchema>>
pub fn get_key_schema(&self) -> &Option<Vec<AwsDynamoDbTableKeySchema>>
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 get_projection(&self) -> &Option<AwsDynamoDbTableProjection>
pub fn get_projection(&self) -> &Option<AwsDynamoDbTableProjection>
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 get_provisioned_throughput(
&self,
) -> &Option<AwsDynamoDbTableProvisionedThroughput>
pub fn get_provisioned_throughput( &self, ) -> &Option<AwsDynamoDbTableProvisionedThroughput>
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.
Trait Implementations§
source§impl Clone for AwsDynamoDbTableGlobalSecondaryIndexBuilder
impl Clone for AwsDynamoDbTableGlobalSecondaryIndexBuilder
source§fn clone(&self) -> AwsDynamoDbTableGlobalSecondaryIndexBuilder
fn clone(&self) -> AwsDynamoDbTableGlobalSecondaryIndexBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for AwsDynamoDbTableGlobalSecondaryIndexBuilder
impl Default for AwsDynamoDbTableGlobalSecondaryIndexBuilder
source§fn default() -> AwsDynamoDbTableGlobalSecondaryIndexBuilder
fn default() -> AwsDynamoDbTableGlobalSecondaryIndexBuilder
source§impl PartialEq for AwsDynamoDbTableGlobalSecondaryIndexBuilder
impl PartialEq for AwsDynamoDbTableGlobalSecondaryIndexBuilder
source§fn eq(&self, other: &AwsDynamoDbTableGlobalSecondaryIndexBuilder) -> bool
fn eq(&self, other: &AwsDynamoDbTableGlobalSecondaryIndexBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AwsDynamoDbTableGlobalSecondaryIndexBuilder
Auto Trait Implementations§
impl Freeze for AwsDynamoDbTableGlobalSecondaryIndexBuilder
impl RefUnwindSafe for AwsDynamoDbTableGlobalSecondaryIndexBuilder
impl Send for AwsDynamoDbTableGlobalSecondaryIndexBuilder
impl Sync for AwsDynamoDbTableGlobalSecondaryIndexBuilder
impl Unpin for AwsDynamoDbTableGlobalSecondaryIndexBuilder
impl UnwindSafe for AwsDynamoDbTableGlobalSecondaryIndexBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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