#[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 ==
.