#[non_exhaustive]pub struct ReplicaGlobalSecondaryIndexSettingsUpdate {
pub index_name: String,
pub provisioned_read_capacity_units: Option<i64>,
pub provisioned_read_capacity_auto_scaling_settings_update: Option<AutoScalingSettingsUpdate>,
}
Expand description
Represents the settings of a global secondary index for a global table 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.index_name: String
The name of the global secondary index. The name must be unique among all other indexes on this table.
provisioned_read_capacity_units: Option<i64>
The maximum number of strongly consistent reads consumed per second before DynamoDB returns a ThrottlingException
.
provisioned_read_capacity_auto_scaling_settings_update: Option<AutoScalingSettingsUpdate>
Auto scaling settings for managing a global secondary index replica's read capacity units.
Implementations§
Source§impl ReplicaGlobalSecondaryIndexSettingsUpdate
impl ReplicaGlobalSecondaryIndexSettingsUpdate
Sourcepub fn index_name(&self) -> &str
pub fn index_name(&self) -> &str
The name of the global secondary index. The name must be unique among all other indexes on this table.
Sourcepub fn provisioned_read_capacity_units(&self) -> Option<i64>
pub fn provisioned_read_capacity_units(&self) -> Option<i64>
The maximum number of strongly consistent reads consumed per second before DynamoDB returns a ThrottlingException
.
Sourcepub fn provisioned_read_capacity_auto_scaling_settings_update(
&self,
) -> Option<&AutoScalingSettingsUpdate>
pub fn provisioned_read_capacity_auto_scaling_settings_update( &self, ) -> Option<&AutoScalingSettingsUpdate>
Auto scaling settings for managing a global secondary index replica's read capacity units.
Source§impl ReplicaGlobalSecondaryIndexSettingsUpdate
impl ReplicaGlobalSecondaryIndexSettingsUpdate
Sourcepub fn builder() -> ReplicaGlobalSecondaryIndexSettingsUpdateBuilder
pub fn builder() -> ReplicaGlobalSecondaryIndexSettingsUpdateBuilder
Creates a new builder-style object to manufacture ReplicaGlobalSecondaryIndexSettingsUpdate
.
Trait Implementations§
Source§impl Clone for ReplicaGlobalSecondaryIndexSettingsUpdate
impl Clone for ReplicaGlobalSecondaryIndexSettingsUpdate
Source§fn clone(&self) -> ReplicaGlobalSecondaryIndexSettingsUpdate
fn clone(&self) -> ReplicaGlobalSecondaryIndexSettingsUpdate
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl PartialEq for ReplicaGlobalSecondaryIndexSettingsUpdate
impl PartialEq for ReplicaGlobalSecondaryIndexSettingsUpdate
Source§fn eq(&self, other: &ReplicaGlobalSecondaryIndexSettingsUpdate) -> bool
fn eq(&self, other: &ReplicaGlobalSecondaryIndexSettingsUpdate) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ReplicaGlobalSecondaryIndexSettingsUpdate
Auto Trait Implementations§
impl Freeze for ReplicaGlobalSecondaryIndexSettingsUpdate
impl RefUnwindSafe for ReplicaGlobalSecondaryIndexSettingsUpdate
impl Send for ReplicaGlobalSecondaryIndexSettingsUpdate
impl Sync for ReplicaGlobalSecondaryIndexSettingsUpdate
impl Unpin for ReplicaGlobalSecondaryIndexSettingsUpdate
impl UnwindSafe for ReplicaGlobalSecondaryIndexSettingsUpdate
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more