#[non_exhaustive]pub struct ReplicaAutoScalingDescription {
pub region_name: Option<String>,
pub global_secondary_indexes: Option<Vec<ReplicaGlobalSecondaryIndexAutoScalingDescription>>,
pub replica_provisioned_read_capacity_auto_scaling_settings: Option<AutoScalingSettingsDescription>,
pub replica_provisioned_write_capacity_auto_scaling_settings: Option<AutoScalingSettingsDescription>,
pub replica_status: Option<ReplicaStatus>,
}
Expand description
Represents the auto scaling settings of the replica.
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 where the replica exists.
global_secondary_indexes: Option<Vec<ReplicaGlobalSecondaryIndexAutoScalingDescription>>
Replica-specific global secondary index auto scaling settings.
replica_provisioned_read_capacity_auto_scaling_settings: Option<AutoScalingSettingsDescription>
Represents the auto scaling settings for a global table or global secondary index.
replica_provisioned_write_capacity_auto_scaling_settings: Option<AutoScalingSettingsDescription>
Represents the auto scaling settings for a global table or global secondary index.
replica_status: Option<ReplicaStatus>
The current state of the replica:
-
CREATING
- The replica is being created. -
UPDATING
- The replica is being updated. -
DELETING
- The replica is being deleted. -
ACTIVE
- The replica is ready for use.
Implementations§
source§impl ReplicaAutoScalingDescription
impl ReplicaAutoScalingDescription
sourcepub fn region_name(&self) -> Option<&str>
pub fn region_name(&self) -> Option<&str>
The Region where the replica exists.
sourcepub fn global_secondary_indexes(
&self,
) -> &[ReplicaGlobalSecondaryIndexAutoScalingDescription]
pub fn global_secondary_indexes( &self, ) -> &[ReplicaGlobalSecondaryIndexAutoScalingDescription]
Replica-specific global secondary index auto scaling settings.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .global_secondary_indexes.is_none()
.
sourcepub fn replica_provisioned_read_capacity_auto_scaling_settings(
&self,
) -> Option<&AutoScalingSettingsDescription>
pub fn replica_provisioned_read_capacity_auto_scaling_settings( &self, ) -> Option<&AutoScalingSettingsDescription>
Represents the auto scaling settings for a global table or global secondary index.
sourcepub fn replica_provisioned_write_capacity_auto_scaling_settings(
&self,
) -> Option<&AutoScalingSettingsDescription>
pub fn replica_provisioned_write_capacity_auto_scaling_settings( &self, ) -> Option<&AutoScalingSettingsDescription>
Represents the auto scaling settings for a global table or global secondary index.
sourcepub fn replica_status(&self) -> Option<&ReplicaStatus>
pub fn replica_status(&self) -> Option<&ReplicaStatus>
The current state of the replica:
-
CREATING
- The replica is being created. -
UPDATING
- The replica is being updated. -
DELETING
- The replica is being deleted. -
ACTIVE
- The replica is ready for use.
source§impl ReplicaAutoScalingDescription
impl ReplicaAutoScalingDescription
sourcepub fn builder() -> ReplicaAutoScalingDescriptionBuilder
pub fn builder() -> ReplicaAutoScalingDescriptionBuilder
Creates a new builder-style object to manufacture ReplicaAutoScalingDescription
.
Trait Implementations§
source§impl Clone for ReplicaAutoScalingDescription
impl Clone for ReplicaAutoScalingDescription
source§fn clone(&self) -> ReplicaAutoScalingDescription
fn clone(&self) -> ReplicaAutoScalingDescription
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for ReplicaAutoScalingDescription
impl PartialEq for ReplicaAutoScalingDescription
source§fn eq(&self, other: &ReplicaAutoScalingDescription) -> bool
fn eq(&self, other: &ReplicaAutoScalingDescription) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ReplicaAutoScalingDescription
Auto Trait Implementations§
impl Freeze for ReplicaAutoScalingDescription
impl RefUnwindSafe for ReplicaAutoScalingDescription
impl Send for ReplicaAutoScalingDescription
impl Sync for ReplicaAutoScalingDescription
impl Unpin for ReplicaAutoScalingDescription
impl UnwindSafe for ReplicaAutoScalingDescription
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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