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<ScaleBuilder> for ScaleBuilder
impl PartialEq<ScaleBuilder> for ScaleBuilder
source§fn eq(&self, other: &ScaleBuilder) -> bool
fn eq(&self, other: &ScaleBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ScaleBuilder
Auto Trait Implementations§
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