Struct aws_sdk_dynamodb::model::source_table_details::Builder
source · [−]#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for SourceTableDetails
Implementations
sourceimpl Builder
impl Builder
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 for which the backup was created.
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 for which the backup was created.
sourcepub fn table_id(self, input: impl Into<String>) -> Self
pub fn table_id(self, input: impl Into<String>) -> Self
Unique identifier for the table for which the backup was created.
sourcepub fn set_table_id(self, input: Option<String>) -> Self
pub fn set_table_id(self, input: Option<String>) -> Self
Unique identifier for the table for which the backup was created.
sourcepub fn table_arn(self, input: impl Into<String>) -> Self
pub fn table_arn(self, input: impl Into<String>) -> Self
ARN of the table for which backup was created.
sourcepub fn set_table_arn(self, input: Option<String>) -> Self
pub fn set_table_arn(self, input: Option<String>) -> Self
ARN of the table for which backup was created.
sourcepub fn table_size_bytes(self, input: i64) -> Self
pub fn table_size_bytes(self, input: i64) -> Self
Size of the table in bytes. Note that this is an approximate value.
sourcepub fn set_table_size_bytes(self, input: Option<i64>) -> Self
pub fn set_table_size_bytes(self, input: Option<i64>) -> Self
Size of the table in bytes. Note that this is an approximate value.
sourcepub fn key_schema(self, input: KeySchemaElement) -> Self
pub fn key_schema(self, input: KeySchemaElement) -> Self
Appends an item to key_schema
.
To override the contents of this collection use set_key_schema
.
Schema of the table.
sourcepub fn set_key_schema(self, input: Option<Vec<KeySchemaElement>>) -> Self
pub fn set_key_schema(self, input: Option<Vec<KeySchemaElement>>) -> Self
Schema of the table.
sourcepub fn table_creation_date_time(self, input: DateTime) -> Self
pub fn table_creation_date_time(self, input: DateTime) -> Self
Time when the source table was created.
sourcepub fn set_table_creation_date_time(self, input: Option<DateTime>) -> Self
pub fn set_table_creation_date_time(self, input: Option<DateTime>) -> Self
Time when the source table was created.
sourcepub fn provisioned_throughput(self, input: ProvisionedThroughput) -> Self
pub fn provisioned_throughput(self, input: ProvisionedThroughput) -> Self
Read IOPs and Write IOPS on the table when the backup was created.
sourcepub fn set_provisioned_throughput(
self,
input: Option<ProvisionedThroughput>
) -> Self
pub fn set_provisioned_throughput(
self,
input: Option<ProvisionedThroughput>
) -> Self
Read IOPs and Write IOPS on the table when the backup was created.
sourcepub fn item_count(self, input: i64) -> Self
pub fn item_count(self, input: i64) -> Self
Number of items in the table. Note that this is an approximate value.
sourcepub fn set_item_count(self, input: Option<i64>) -> Self
pub fn set_item_count(self, input: Option<i64>) -> Self
Number of items in the table. Note that this is an approximate value.
sourcepub fn billing_mode(self, input: BillingMode) -> Self
pub fn billing_mode(self, input: BillingMode) -> Self
Controls how you are charged for read and write throughput and how you manage capacity. This setting can be changed later.
-
PROVISIONED
- Sets the read/write capacity mode toPROVISIONED
. We recommend usingPROVISIONED
for predictable workloads. -
PAY_PER_REQUEST
- Sets the read/write capacity mode toPAY_PER_REQUEST
. We recommend usingPAY_PER_REQUEST
for unpredictable workloads.
sourcepub fn set_billing_mode(self, input: Option<BillingMode>) -> Self
pub fn set_billing_mode(self, input: Option<BillingMode>) -> Self
Controls how you are charged for read and write throughput and how you manage capacity. This setting can be changed later.
-
PROVISIONED
- Sets the read/write capacity mode toPROVISIONED
. We recommend usingPROVISIONED
for predictable workloads. -
PAY_PER_REQUEST
- Sets the read/write capacity mode toPAY_PER_REQUEST
. We recommend usingPAY_PER_REQUEST
for unpredictable workloads.
sourcepub fn build(self) -> SourceTableDetails
pub fn build(self) -> SourceTableDetails
Consumes the builder and constructs a SourceTableDetails
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
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
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more