Struct aws_sdk_ecs::types::builders::ScaleBuilder
source · #[non_exhaustive]pub struct ScaleBuilder { /* private fields */ }Expand description
A builder for Scale.
Implementations§
source§impl ScaleBuilder
impl ScaleBuilder
sourcepub fn value(self, input: f64) -> Self
pub fn value(self, input: f64) -> Self
The value, specified as a percent total of a service's desiredCount, to scale the task set. Accepted values are numbers between 0 and 100.
sourcepub fn set_value(self, input: Option<f64>) -> Self
pub fn set_value(self, input: Option<f64>) -> Self
The value, specified as a percent total of a service's desiredCount, to scale the task set. Accepted values are numbers between 0 and 100.
sourcepub fn get_value(&self) -> &Option<f64>
pub fn get_value(&self) -> &Option<f64>
The value, specified as a percent total of a service's desiredCount, to scale the task set. Accepted values are numbers between 0 and 100.
Trait Implementations§
source§impl Clone for ScaleBuilder
impl Clone for ScaleBuilder
source§fn clone(&self) -> ScaleBuilder
fn clone(&self) -> ScaleBuilder
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 ScaleBuilder
impl Debug for ScaleBuilder
source§impl Default for ScaleBuilder
impl Default for ScaleBuilder
source§fn default() -> ScaleBuilder
fn default() -> ScaleBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ScaleBuilder
impl PartialEq for ScaleBuilder
impl StructuralPartialEq for ScaleBuilder
Auto Trait Implementations§
impl Freeze for ScaleBuilder
impl RefUnwindSafe for ScaleBuilder
impl Send for ScaleBuilder
impl Sync for ScaleBuilder
impl Unpin for ScaleBuilder
impl UnwindSafe for ScaleBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
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>
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.