#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for UpdateGlobalTableSettingsInput
Implementations
sourceimpl Builder
impl Builder
sourcepub fn global_table_name(self, input: impl Into<String>) -> Self
pub fn global_table_name(self, input: impl Into<String>) -> Self
The name of the global table
sourcepub fn set_global_table_name(self, input: Option<String>) -> Self
pub fn set_global_table_name(self, input: Option<String>) -> Self
The name of the global table
sourcepub fn global_table_billing_mode(self, input: BillingMode) -> Self
pub fn global_table_billing_mode(self, input: BillingMode) -> Self
The billing mode of the global table. If GlobalTableBillingMode
is not specified, the global table defaults to PROVISIONED
capacity billing mode.
-
PROVISIONED
- We recommend usingPROVISIONED
for predictable workloads.PROVISIONED
sets the billing mode to Provisioned Mode. -
PAY_PER_REQUEST
- We recommend usingPAY_PER_REQUEST
for unpredictable workloads.PAY_PER_REQUEST
sets the billing mode to On-Demand Mode.
sourcepub fn set_global_table_billing_mode(self, input: Option<BillingMode>) -> Self
pub fn set_global_table_billing_mode(self, input: Option<BillingMode>) -> Self
The billing mode of the global table. If GlobalTableBillingMode
is not specified, the global table defaults to PROVISIONED
capacity billing mode.
-
PROVISIONED
- We recommend usingPROVISIONED
for predictable workloads.PROVISIONED
sets the billing mode to Provisioned Mode. -
PAY_PER_REQUEST
- We recommend usingPAY_PER_REQUEST
for unpredictable workloads.PAY_PER_REQUEST
sets the billing mode to On-Demand Mode.
sourcepub fn global_table_provisioned_write_capacity_units(self, input: i64) -> Self
pub fn global_table_provisioned_write_capacity_units(self, input: i64) -> Self
The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException.
sourcepub fn set_global_table_provisioned_write_capacity_units(
self,
input: Option<i64>
) -> Self
pub fn set_global_table_provisioned_write_capacity_units(
self,
input: Option<i64>
) -> Self
The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException.
sourcepub fn global_table_provisioned_write_capacity_auto_scaling_settings_update(
self,
input: AutoScalingSettingsUpdate
) -> Self
pub fn global_table_provisioned_write_capacity_auto_scaling_settings_update(
self,
input: AutoScalingSettingsUpdate
) -> Self
Auto scaling settings for managing provisioned write capacity for the global table.
sourcepub fn set_global_table_provisioned_write_capacity_auto_scaling_settings_update(
self,
input: Option<AutoScalingSettingsUpdate>
) -> Self
pub fn set_global_table_provisioned_write_capacity_auto_scaling_settings_update(
self,
input: Option<AutoScalingSettingsUpdate>
) -> Self
Auto scaling settings for managing provisioned write capacity for the global table.
sourcepub fn global_table_global_secondary_index_settings_update(
self,
input: GlobalTableGlobalSecondaryIndexSettingsUpdate
) -> Self
pub fn global_table_global_secondary_index_settings_update(
self,
input: GlobalTableGlobalSecondaryIndexSettingsUpdate
) -> Self
Appends an item to global_table_global_secondary_index_settings_update
.
To override the contents of this collection use set_global_table_global_secondary_index_settings_update
.
Represents the settings of a global secondary index for a global table that will be modified.
sourcepub fn set_global_table_global_secondary_index_settings_update(
self,
input: Option<Vec<GlobalTableGlobalSecondaryIndexSettingsUpdate>>
) -> Self
pub fn set_global_table_global_secondary_index_settings_update(
self,
input: Option<Vec<GlobalTableGlobalSecondaryIndexSettingsUpdate>>
) -> Self
Represents the settings of a global secondary index for a global table that will be modified.
sourcepub fn replica_settings_update(self, input: ReplicaSettingsUpdate) -> Self
pub fn replica_settings_update(self, input: ReplicaSettingsUpdate) -> Self
Appends an item to replica_settings_update
.
To override the contents of this collection use set_replica_settings_update
.
Represents the settings for a global table in a Region that will be modified.
sourcepub fn set_replica_settings_update(
self,
input: Option<Vec<ReplicaSettingsUpdate>>
) -> Self
pub fn set_replica_settings_update(
self,
input: Option<Vec<ReplicaSettingsUpdate>>
) -> Self
Represents the settings for a global table in a Region that will be modified.
sourcepub fn build(self) -> Result<UpdateGlobalTableSettingsInput, BuildError>
pub fn build(self) -> Result<UpdateGlobalTableSettingsInput, BuildError>
Consumes the builder and constructs a UpdateGlobalTableSettingsInput
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