#[non_exhaustive]pub struct ScalableTargetActionBuilder { /* private fields */ }
Expand description
A builder for ScalableTargetAction
.
Implementations§
source§impl ScalableTargetActionBuilder
impl ScalableTargetActionBuilder
sourcepub fn min_capacity(self, input: i32) -> Self
pub fn min_capacity(self, input: i32) -> Self
The minimum capacity.
When the scheduled action runs, the resource will have at least this much capacity, but it might have more depending on other settings, such as the target utilization level of a target tracking scaling policy.
sourcepub fn set_min_capacity(self, input: Option<i32>) -> Self
pub fn set_min_capacity(self, input: Option<i32>) -> Self
The minimum capacity.
When the scheduled action runs, the resource will have at least this much capacity, but it might have more depending on other settings, such as the target utilization level of a target tracking scaling policy.
sourcepub fn get_min_capacity(&self) -> &Option<i32>
pub fn get_min_capacity(&self) -> &Option<i32>
The minimum capacity.
When the scheduled action runs, the resource will have at least this much capacity, but it might have more depending on other settings, such as the target utilization level of a target tracking scaling policy.
sourcepub fn max_capacity(self, input: i32) -> Self
pub fn max_capacity(self, input: i32) -> Self
The maximum capacity.
Although you can specify a large maximum capacity, note that service quotas may impose lower limits. Each service has its own default quotas for the maximum capacity of the resource. If you want to specify a higher limit, you can request an increase. For more information, consult the documentation for that service. For information about the default quotas for each service, see Service endpoints and quotas in the Amazon Web Services General Reference.
sourcepub fn set_max_capacity(self, input: Option<i32>) -> Self
pub fn set_max_capacity(self, input: Option<i32>) -> Self
The maximum capacity.
Although you can specify a large maximum capacity, note that service quotas may impose lower limits. Each service has its own default quotas for the maximum capacity of the resource. If you want to specify a higher limit, you can request an increase. For more information, consult the documentation for that service. For information about the default quotas for each service, see Service endpoints and quotas in the Amazon Web Services General Reference.
sourcepub fn get_max_capacity(&self) -> &Option<i32>
pub fn get_max_capacity(&self) -> &Option<i32>
The maximum capacity.
Although you can specify a large maximum capacity, note that service quotas may impose lower limits. Each service has its own default quotas for the maximum capacity of the resource. If you want to specify a higher limit, you can request an increase. For more information, consult the documentation for that service. For information about the default quotas for each service, see Service endpoints and quotas in the Amazon Web Services General Reference.
sourcepub fn build(self) -> ScalableTargetAction
pub fn build(self) -> ScalableTargetAction
Consumes the builder and constructs a ScalableTargetAction
.
Trait Implementations§
source§impl Clone for ScalableTargetActionBuilder
impl Clone for ScalableTargetActionBuilder
source§fn clone(&self) -> ScalableTargetActionBuilder
fn clone(&self) -> ScalableTargetActionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ScalableTargetActionBuilder
impl Debug for ScalableTargetActionBuilder
source§impl Default for ScalableTargetActionBuilder
impl Default for ScalableTargetActionBuilder
source§fn default() -> ScalableTargetActionBuilder
fn default() -> ScalableTargetActionBuilder
source§impl PartialEq for ScalableTargetActionBuilder
impl PartialEq for ScalableTargetActionBuilder
source§fn eq(&self, other: &ScalableTargetActionBuilder) -> bool
fn eq(&self, other: &ScalableTargetActionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ScalableTargetActionBuilder
Auto Trait Implementations§
impl Freeze for ScalableTargetActionBuilder
impl RefUnwindSafe for ScalableTargetActionBuilder
impl Send for ScalableTargetActionBuilder
impl Sync for ScalableTargetActionBuilder
impl Unpin for ScalableTargetActionBuilder
impl UnwindSafe for ScalableTargetActionBuilder
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> 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