Struct aws_sdk_dynamodb::model::ReplicaSettingsUpdate
source · [−]#[non_exhaustive]pub struct ReplicaSettingsUpdate {
pub region_name: Option<String>,
pub replica_provisioned_read_capacity_units: Option<i64>,
pub replica_provisioned_read_capacity_auto_scaling_settings_update: Option<AutoScalingSettingsUpdate>,
pub replica_global_secondary_index_settings_update: Option<Vec<ReplicaGlobalSecondaryIndexSettingsUpdate>>,
pub replica_table_class: Option<TableClass>,
}
Expand description
Represents the settings for a global table in a Region that will be modified.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.region_name: Option<String>
The Region of the replica to be added.
replica_provisioned_read_capacity_units: Option<i64>
The maximum number of strongly consistent reads consumed per second before DynamoDB returns a ThrottlingException
. For more information, see Specifying Read and Write Requirements in the Amazon DynamoDB Developer Guide.
replica_provisioned_read_capacity_auto_scaling_settings_update: Option<AutoScalingSettingsUpdate>
Auto scaling settings for managing a global table replica's read capacity units.
replica_global_secondary_index_settings_update: Option<Vec<ReplicaGlobalSecondaryIndexSettingsUpdate>>
Represents the settings of a global secondary index for a global table that will be modified.
replica_table_class: Option<TableClass>
Replica-specific table class. If not specified, uses the source table's table class.
Implementations
sourceimpl ReplicaSettingsUpdate
impl ReplicaSettingsUpdate
sourcepub fn region_name(&self) -> Option<&str>
pub fn region_name(&self) -> Option<&str>
The Region of the replica to be added.
sourcepub fn replica_provisioned_read_capacity_units(&self) -> Option<i64>
pub fn replica_provisioned_read_capacity_units(&self) -> Option<i64>
The maximum number of strongly consistent reads consumed per second before DynamoDB returns a ThrottlingException
. For more information, see Specifying Read and Write Requirements in the Amazon DynamoDB Developer Guide.
sourcepub fn replica_provisioned_read_capacity_auto_scaling_settings_update(
&self
) -> Option<&AutoScalingSettingsUpdate>
pub fn replica_provisioned_read_capacity_auto_scaling_settings_update(
&self
) -> Option<&AutoScalingSettingsUpdate>
Auto scaling settings for managing a global table replica's read capacity units.
sourcepub fn replica_global_secondary_index_settings_update(
&self
) -> Option<&[ReplicaGlobalSecondaryIndexSettingsUpdate]>
pub fn replica_global_secondary_index_settings_update(
&self
) -> Option<&[ReplicaGlobalSecondaryIndexSettingsUpdate]>
Represents the settings of a global secondary index for a global table that will be modified.
sourcepub fn replica_table_class(&self) -> Option<&TableClass>
pub fn replica_table_class(&self) -> Option<&TableClass>
Replica-specific table class. If not specified, uses the source table's table class.
sourceimpl ReplicaSettingsUpdate
impl ReplicaSettingsUpdate
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ReplicaSettingsUpdate
Trait Implementations
sourceimpl Clone for ReplicaSettingsUpdate
impl Clone for ReplicaSettingsUpdate
sourcefn clone(&self) -> ReplicaSettingsUpdate
fn clone(&self) -> ReplicaSettingsUpdate
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ReplicaSettingsUpdate
impl Debug for ReplicaSettingsUpdate
sourceimpl PartialEq<ReplicaSettingsUpdate> for ReplicaSettingsUpdate
impl PartialEq<ReplicaSettingsUpdate> for ReplicaSettingsUpdate
sourcefn eq(&self, other: &ReplicaSettingsUpdate) -> bool
fn eq(&self, other: &ReplicaSettingsUpdate) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ReplicaSettingsUpdate) -> bool
fn ne(&self, other: &ReplicaSettingsUpdate) -> bool
This method tests for !=
.
impl StructuralPartialEq for ReplicaSettingsUpdate
Auto Trait Implementations
impl RefUnwindSafe for ReplicaSettingsUpdate
impl Send for ReplicaSettingsUpdate
impl Sync for ReplicaSettingsUpdate
impl Unpin for ReplicaSettingsUpdate
impl UnwindSafe for ReplicaSettingsUpdate
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