Struct aws_sdk_keyspaces::types::builders::AutoScalingPolicyBuilder
source · #[non_exhaustive]pub struct AutoScalingPolicyBuilder { /* private fields */ }
Expand description
A builder for AutoScalingPolicy
.
Implementations§
source§impl AutoScalingPolicyBuilder
impl AutoScalingPolicyBuilder
sourcepub fn target_tracking_scaling_policy_configuration(
self,
input: TargetTrackingScalingPolicyConfiguration
) -> Self
pub fn target_tracking_scaling_policy_configuration( self, input: TargetTrackingScalingPolicyConfiguration ) -> Self
Auto scaling scales up capacity automatically when traffic exceeds this target utilization rate, and then back down when it falls below the target. A double
between 20 and 90.
sourcepub fn set_target_tracking_scaling_policy_configuration(
self,
input: Option<TargetTrackingScalingPolicyConfiguration>
) -> Self
pub fn set_target_tracking_scaling_policy_configuration( self, input: Option<TargetTrackingScalingPolicyConfiguration> ) -> Self
Auto scaling scales up capacity automatically when traffic exceeds this target utilization rate, and then back down when it falls below the target. A double
between 20 and 90.
sourcepub fn get_target_tracking_scaling_policy_configuration(
&self
) -> &Option<TargetTrackingScalingPolicyConfiguration>
pub fn get_target_tracking_scaling_policy_configuration( &self ) -> &Option<TargetTrackingScalingPolicyConfiguration>
Auto scaling scales up capacity automatically when traffic exceeds this target utilization rate, and then back down when it falls below the target. A double
between 20 and 90.
sourcepub fn build(self) -> AutoScalingPolicy
pub fn build(self) -> AutoScalingPolicy
Consumes the builder and constructs a AutoScalingPolicy
.
Trait Implementations§
source§impl Clone for AutoScalingPolicyBuilder
impl Clone for AutoScalingPolicyBuilder
source§fn clone(&self) -> AutoScalingPolicyBuilder
fn clone(&self) -> AutoScalingPolicyBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AutoScalingPolicyBuilder
impl Debug for AutoScalingPolicyBuilder
source§impl Default for AutoScalingPolicyBuilder
impl Default for AutoScalingPolicyBuilder
source§fn default() -> AutoScalingPolicyBuilder
fn default() -> AutoScalingPolicyBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AutoScalingPolicyBuilder
impl PartialEq for AutoScalingPolicyBuilder
source§fn eq(&self, other: &AutoScalingPolicyBuilder) -> bool
fn eq(&self, other: &AutoScalingPolicyBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AutoScalingPolicyBuilder
Auto Trait Implementations§
impl Freeze for AutoScalingPolicyBuilder
impl RefUnwindSafe for AutoScalingPolicyBuilder
impl Send for AutoScalingPolicyBuilder
impl Sync for AutoScalingPolicyBuilder
impl Unpin for AutoScalingPolicyBuilder
impl UnwindSafe for AutoScalingPolicyBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.