#[non_exhaustive]pub struct DynamicScalingConfigurationBuilder { /* private fields */ }
Expand description
A builder for DynamicScalingConfiguration
.
Implementations§
source§impl DynamicScalingConfigurationBuilder
impl DynamicScalingConfigurationBuilder
sourcepub fn min_capacity(self, input: i32) -> Self
pub fn min_capacity(self, input: i32) -> Self
The recommended minimum capacity to specify for your autoscaling policy.
sourcepub fn set_min_capacity(self, input: Option<i32>) -> Self
pub fn set_min_capacity(self, input: Option<i32>) -> Self
The recommended minimum capacity to specify for your autoscaling policy.
sourcepub fn get_min_capacity(&self) -> &Option<i32>
pub fn get_min_capacity(&self) -> &Option<i32>
The recommended minimum capacity to specify for your autoscaling policy.
sourcepub fn max_capacity(self, input: i32) -> Self
pub fn max_capacity(self, input: i32) -> Self
The recommended maximum capacity to specify for your autoscaling policy.
sourcepub fn set_max_capacity(self, input: Option<i32>) -> Self
pub fn set_max_capacity(self, input: Option<i32>) -> Self
The recommended maximum capacity to specify for your autoscaling policy.
sourcepub fn get_max_capacity(&self) -> &Option<i32>
pub fn get_max_capacity(&self) -> &Option<i32>
The recommended maximum capacity to specify for your autoscaling policy.
sourcepub fn scale_in_cooldown(self, input: i32) -> Self
pub fn scale_in_cooldown(self, input: i32) -> Self
The recommended scale in cooldown time for your autoscaling policy.
sourcepub fn set_scale_in_cooldown(self, input: Option<i32>) -> Self
pub fn set_scale_in_cooldown(self, input: Option<i32>) -> Self
The recommended scale in cooldown time for your autoscaling policy.
sourcepub fn get_scale_in_cooldown(&self) -> &Option<i32>
pub fn get_scale_in_cooldown(&self) -> &Option<i32>
The recommended scale in cooldown time for your autoscaling policy.
sourcepub fn scale_out_cooldown(self, input: i32) -> Self
pub fn scale_out_cooldown(self, input: i32) -> Self
The recommended scale out cooldown time for your autoscaling policy.
sourcepub fn set_scale_out_cooldown(self, input: Option<i32>) -> Self
pub fn set_scale_out_cooldown(self, input: Option<i32>) -> Self
The recommended scale out cooldown time for your autoscaling policy.
sourcepub fn get_scale_out_cooldown(&self) -> &Option<i32>
pub fn get_scale_out_cooldown(&self) -> &Option<i32>
The recommended scale out cooldown time for your autoscaling policy.
sourcepub fn scaling_policies(self, input: ScalingPolicy) -> Self
pub fn scaling_policies(self, input: ScalingPolicy) -> Self
Appends an item to scaling_policies
.
To override the contents of this collection use set_scaling_policies
.
An object of the scaling policies for each metric.
sourcepub fn set_scaling_policies(self, input: Option<Vec<ScalingPolicy>>) -> Self
pub fn set_scaling_policies(self, input: Option<Vec<ScalingPolicy>>) -> Self
An object of the scaling policies for each metric.
sourcepub fn get_scaling_policies(&self) -> &Option<Vec<ScalingPolicy>>
pub fn get_scaling_policies(&self) -> &Option<Vec<ScalingPolicy>>
An object of the scaling policies for each metric.
sourcepub fn build(self) -> DynamicScalingConfiguration
pub fn build(self) -> DynamicScalingConfiguration
Consumes the builder and constructs a DynamicScalingConfiguration
.
Trait Implementations§
source§impl Clone for DynamicScalingConfigurationBuilder
impl Clone for DynamicScalingConfigurationBuilder
source§fn clone(&self) -> DynamicScalingConfigurationBuilder
fn clone(&self) -> DynamicScalingConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DynamicScalingConfigurationBuilder
impl Default for DynamicScalingConfigurationBuilder
source§fn default() -> DynamicScalingConfigurationBuilder
fn default() -> DynamicScalingConfigurationBuilder
source§impl PartialEq for DynamicScalingConfigurationBuilder
impl PartialEq for DynamicScalingConfigurationBuilder
source§fn eq(&self, other: &DynamicScalingConfigurationBuilder) -> bool
fn eq(&self, other: &DynamicScalingConfigurationBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for DynamicScalingConfigurationBuilder
Auto Trait Implementations§
impl Freeze for DynamicScalingConfigurationBuilder
impl RefUnwindSafe for DynamicScalingConfigurationBuilder
impl Send for DynamicScalingConfigurationBuilder
impl Sync for DynamicScalingConfigurationBuilder
impl Unpin for DynamicScalingConfigurationBuilder
impl UnwindSafe for DynamicScalingConfigurationBuilder
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