Struct aws_sdk_dynamodb::types::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§
source§impl 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.
source§impl ReplicaSettingsUpdate
impl ReplicaSettingsUpdate
sourcepub fn builder() -> ReplicaSettingsUpdateBuilder
pub fn builder() -> ReplicaSettingsUpdateBuilder
Creates a new builder-style object to manufacture ReplicaSettingsUpdate
.
Trait Implementations§
source§impl Clone for ReplicaSettingsUpdate
impl Clone for ReplicaSettingsUpdate
source§fn clone(&self) -> ReplicaSettingsUpdate
fn clone(&self) -> ReplicaSettingsUpdate
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ReplicaSettingsUpdate
impl Debug for ReplicaSettingsUpdate
source§impl PartialEq<ReplicaSettingsUpdate> for ReplicaSettingsUpdate
impl PartialEq<ReplicaSettingsUpdate> for ReplicaSettingsUpdate
source§fn eq(&self, other: &ReplicaSettingsUpdate) -> bool
fn eq(&self, other: &ReplicaSettingsUpdate) -> bool
self
and other
values to be equal, and is used
by ==
.