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 ==
.impl StructuralPartialEq for AutoScalingSettingsUpdate
Auto Trait Implementations§
impl Freeze for AutoScalingSettingsUpdate
impl RefUnwindSafe for AutoScalingSettingsUpdate
impl Send for AutoScalingSettingsUpdate
impl Sync for AutoScalingSettingsUpdate
impl Unpin for AutoScalingSettingsUpdate
impl UnwindSafe for AutoScalingSettingsUpdate
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