#[non_exhaustive]
pub struct AwsDynamoDbTableDetailsBuilder { /* private fields */ }
Expand description

A builder for AwsDynamoDbTableDetails.

Implementations§

source§

impl AwsDynamoDbTableDetailsBuilder

source

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.

source

pub fn set_attribute_definitions( self, input: Option<Vec<AwsDynamoDbTableAttributeDefinition>> ) -> Self

A list of attribute definitions for the table.

source

pub fn get_attribute_definitions( &self ) -> &Option<Vec<AwsDynamoDbTableAttributeDefinition>>

A list of attribute definitions for the table.

source

pub fn billing_mode_summary( self, input: AwsDynamoDbTableBillingModeSummary ) -> Self

Information about the billing for read/write capacity on the table.

source

pub fn set_billing_mode_summary( self, input: Option<AwsDynamoDbTableBillingModeSummary> ) -> Self

Information about the billing for read/write capacity on the table.

source

pub fn get_billing_mode_summary( &self ) -> &Option<AwsDynamoDbTableBillingModeSummary>

Information about the billing for read/write capacity on the table.

source

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.

source

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.

source

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.

source

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.

source

pub fn set_global_secondary_indexes( self, input: Option<Vec<AwsDynamoDbTableGlobalSecondaryIndex>> ) -> Self

List of global secondary indexes for the table.

source

pub fn get_global_secondary_indexes( &self ) -> &Option<Vec<AwsDynamoDbTableGlobalSecondaryIndex>>

List of global secondary indexes for the table.

source

pub fn global_table_version(self, input: impl Into<String>) -> Self

The version of global tables being used.

source

pub fn set_global_table_version(self, input: Option<String>) -> Self

The version of global tables being used.

source

pub fn get_global_table_version(&self) -> &Option<String>

The version of global tables being used.

source

pub fn item_count(self, input: i32) -> Self

The number of items in the table.

source

pub fn set_item_count(self, input: Option<i32>) -> Self

The number of items in the table.

source

pub fn get_item_count(&self) -> &Option<i32>

The number of items in the table.

source

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.

source

pub fn set_key_schema( self, input: Option<Vec<AwsDynamoDbTableKeySchema>> ) -> Self

The primary key structure for the table.

source

pub fn get_key_schema(&self) -> &Option<Vec<AwsDynamoDbTableKeySchema>>

The primary key structure for the table.

source

pub fn latest_stream_arn(self, input: impl Into<String>) -> Self

The ARN of the latest stream for the table.

source

pub fn set_latest_stream_arn(self, input: Option<String>) -> Self

The ARN of the latest stream for the table.

source

pub fn get_latest_stream_arn(&self) -> &Option<String>

The ARN of the latest stream for the table.

source

pub fn latest_stream_label(self, input: impl Into<String>) -> Self

The label of the latest stream. The label is not a unique identifier.

source

pub fn set_latest_stream_label(self, input: Option<String>) -> Self

The label of the latest stream. The label is not a unique identifier.

source

pub fn get_latest_stream_label(&self) -> &Option<String>

The label of the latest stream. The label is not a unique identifier.

source

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.

source

pub fn set_local_secondary_indexes( self, input: Option<Vec<AwsDynamoDbTableLocalSecondaryIndex>> ) -> Self

The list of local secondary indexes for the table.

source

pub fn get_local_secondary_indexes( &self ) -> &Option<Vec<AwsDynamoDbTableLocalSecondaryIndex>>

The list of local secondary indexes for the table.

source

pub fn provisioned_throughput( self, input: AwsDynamoDbTableProvisionedThroughput ) -> Self

Information about the provisioned throughput for the table.

source

pub fn set_provisioned_throughput( self, input: Option<AwsDynamoDbTableProvisionedThroughput> ) -> Self

Information about the provisioned throughput for the table.

source

pub fn get_provisioned_throughput( &self ) -> &Option<AwsDynamoDbTableProvisionedThroughput>

Information about the provisioned throughput for the table.

source

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.

source

pub fn set_replicas(self, input: Option<Vec<AwsDynamoDbTableReplica>>) -> Self

The list of replicas of this table.

source

pub fn get_replicas(&self) -> &Option<Vec<AwsDynamoDbTableReplica>>

The list of replicas of this table.

source

pub fn restore_summary(self, input: AwsDynamoDbTableRestoreSummary) -> Self

Information about the restore for the table.

source

pub fn set_restore_summary( self, input: Option<AwsDynamoDbTableRestoreSummary> ) -> Self

Information about the restore for the table.

source

pub fn get_restore_summary(&self) -> &Option<AwsDynamoDbTableRestoreSummary>

Information about the restore for the table.

source

pub fn sse_description(self, input: AwsDynamoDbTableSseDescription) -> Self

Information about the server-side encryption for the table.

source

pub fn set_sse_description( self, input: Option<AwsDynamoDbTableSseDescription> ) -> Self

Information about the server-side encryption for the table.

source

pub fn get_sse_description(&self) -> &Option<AwsDynamoDbTableSseDescription>

Information about the server-side encryption for the table.

source

pub fn stream_specification( self, input: AwsDynamoDbTableStreamSpecification ) -> Self

The current DynamoDB Streams configuration for the table.

source

pub fn set_stream_specification( self, input: Option<AwsDynamoDbTableStreamSpecification> ) -> Self

The current DynamoDB Streams configuration for the table.

source

pub fn get_stream_specification( &self ) -> &Option<AwsDynamoDbTableStreamSpecification>

The current DynamoDB Streams configuration for the table.

source

pub fn table_id(self, input: impl Into<String>) -> Self

The identifier of the table.

source

pub fn set_table_id(self, input: Option<String>) -> Self

The identifier of the table.

source

pub fn get_table_id(&self) -> &Option<String>

The identifier of the table.

source

pub fn table_name(self, input: impl Into<String>) -> Self

The name of the table.

source

pub fn set_table_name(self, input: Option<String>) -> Self

The name of the table.

source

pub fn get_table_name(&self) -> &Option<String>

The name of the table.

source

pub fn table_size_bytes(self, input: i64) -> Self

The total size of the table in bytes.

source

pub fn set_table_size_bytes(self, input: Option<i64>) -> Self

The total size of the table in bytes.

source

pub fn get_table_size_bytes(&self) -> &Option<i64>

The total size of the table in bytes.

source

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

source

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

source

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

source

pub fn deletion_protection_enabled(self, input: bool) -> Self

Indicates whether deletion protection is to be enabled (true) or disabled (false) on the table.

source

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.

source

pub fn get_deletion_protection_enabled(&self) -> &Option<bool>

Indicates whether deletion protection is to be enabled (true) or disabled (false) on the table.

source

pub fn build(self) -> AwsDynamoDbTableDetails

Consumes the builder and constructs a AwsDynamoDbTableDetails.

Trait Implementations§

source§

impl Clone for AwsDynamoDbTableDetailsBuilder

source§

fn clone(&self) -> AwsDynamoDbTableDetailsBuilder

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AwsDynamoDbTableDetailsBuilder

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for AwsDynamoDbTableDetailsBuilder

source§

fn default() -> AwsDynamoDbTableDetailsBuilder

Returns the “default value” for a type. Read more
source§

impl PartialEq for AwsDynamoDbTableDetailsBuilder

source§

fn eq(&self, other: &AwsDynamoDbTableDetailsBuilder) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl StructuralPartialEq for AwsDynamoDbTableDetailsBuilder

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<Unshared, Shared> IntoShared<Shared> for Unshared
where Shared: FromUnshared<Unshared>,

source§

fn into_shared(self) -> Shared

Creates a shared type from an unshared type.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more