Struct aws_sdk_dynamodb::types::AutoScalingSettingsUpdate
source · #[non_exhaustive]pub struct AutoScalingSettingsUpdate {
pub minimum_units: Option<i64>,
pub maximum_units: Option<i64>,
pub auto_scaling_disabled: Option<bool>,
pub auto_scaling_role_arn: Option<String>,
pub scaling_policy_update: Option<AutoScalingPolicyUpdate>,
}
Expand description
Represents the auto scaling settings to be modified for a global table or global secondary index.
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.minimum_units: Option<i64>
The minimum capacity units that a global table or global secondary index should be scaled down to.
maximum_units: Option<i64>
The maximum capacity units that a global table or global secondary index should be scaled up to.
auto_scaling_disabled: Option<bool>
Disabled auto scaling for this global table or global secondary index.
auto_scaling_role_arn: Option<String>
Role ARN used for configuring auto scaling policy.
scaling_policy_update: Option<AutoScalingPolicyUpdate>
The scaling policy to apply for scaling target global table or global secondary index capacity units.
Implementations§
source§impl AutoScalingSettingsUpdate
impl AutoScalingSettingsUpdate
sourcepub fn minimum_units(&self) -> Option<i64>
pub fn minimum_units(&self) -> Option<i64>
The minimum capacity units that a global table or global secondary index should be scaled down to.
sourcepub fn maximum_units(&self) -> Option<i64>
pub fn maximum_units(&self) -> Option<i64>
The maximum capacity units that a global table or global secondary index should be scaled up to.
sourcepub fn auto_scaling_disabled(&self) -> Option<bool>
pub fn auto_scaling_disabled(&self) -> Option<bool>
Disabled auto scaling for this global table or global secondary index.
sourcepub fn auto_scaling_role_arn(&self) -> Option<&str>
pub fn auto_scaling_role_arn(&self) -> Option<&str>
Role ARN used for configuring auto scaling policy.
sourcepub fn scaling_policy_update(&self) -> Option<&AutoScalingPolicyUpdate>
pub fn scaling_policy_update(&self) -> Option<&AutoScalingPolicyUpdate>
The scaling policy to apply for scaling target global table or global secondary index capacity units.
source§impl AutoScalingSettingsUpdate
impl AutoScalingSettingsUpdate
sourcepub fn builder() -> AutoScalingSettingsUpdateBuilder
pub fn builder() -> AutoScalingSettingsUpdateBuilder
Creates a new builder-style object to manufacture AutoScalingSettingsUpdate
.
Trait Implementations§
source§impl Clone for AutoScalingSettingsUpdate
impl Clone for AutoScalingSettingsUpdate
source§fn clone(&self) -> AutoScalingSettingsUpdate
fn clone(&self) -> AutoScalingSettingsUpdate
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AutoScalingSettingsUpdate
impl Debug for AutoScalingSettingsUpdate
source§impl PartialEq for AutoScalingSettingsUpdate
impl PartialEq for AutoScalingSettingsUpdate
source§fn eq(&self, other: &AutoScalingSettingsUpdate) -> bool
fn eq(&self, other: &AutoScalingSettingsUpdate) -> bool
self
and other
values to be equal, and is used
by ==
.