#[non_exhaustive]pub struct EcsEstimatedMonthlySavingsBuilder { /* private fields */ }
Expand description
A builder for EcsEstimatedMonthlySavings
.
Implementations§
source§impl EcsEstimatedMonthlySavingsBuilder
impl EcsEstimatedMonthlySavingsBuilder
sourcepub fn set_currency(self, input: Option<Currency>) -> Self
pub fn set_currency(self, input: Option<Currency>) -> Self
The currency of the estimated monthly savings.
sourcepub fn get_currency(&self) -> &Option<Currency>
pub fn get_currency(&self) -> &Option<Currency>
The currency of the estimated monthly savings.
sourcepub fn value(self, input: f64) -> Self
pub fn value(self, input: f64) -> Self
The value of the estimated monthly savings for Amazon ECS services.
sourcepub fn set_value(self, input: Option<f64>) -> Self
pub fn set_value(self, input: Option<f64>) -> Self
The value of the estimated monthly savings for Amazon ECS services.
sourcepub fn get_value(&self) -> &Option<f64>
pub fn get_value(&self) -> &Option<f64>
The value of the estimated monthly savings for Amazon ECS services.
sourcepub fn build(self) -> EcsEstimatedMonthlySavings
pub fn build(self) -> EcsEstimatedMonthlySavings
Consumes the builder and constructs a EcsEstimatedMonthlySavings
.
Trait Implementations§
source§impl Clone for EcsEstimatedMonthlySavingsBuilder
impl Clone for EcsEstimatedMonthlySavingsBuilder
source§fn clone(&self) -> EcsEstimatedMonthlySavingsBuilder
fn clone(&self) -> EcsEstimatedMonthlySavingsBuilder
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 Default for EcsEstimatedMonthlySavingsBuilder
impl Default for EcsEstimatedMonthlySavingsBuilder
source§fn default() -> EcsEstimatedMonthlySavingsBuilder
fn default() -> EcsEstimatedMonthlySavingsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for EcsEstimatedMonthlySavingsBuilder
impl PartialEq for EcsEstimatedMonthlySavingsBuilder
source§fn eq(&self, other: &EcsEstimatedMonthlySavingsBuilder) -> bool
fn eq(&self, other: &EcsEstimatedMonthlySavingsBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EcsEstimatedMonthlySavingsBuilder
Auto Trait Implementations§
impl RefUnwindSafe for EcsEstimatedMonthlySavingsBuilder
impl Send for EcsEstimatedMonthlySavingsBuilder
impl Sync for EcsEstimatedMonthlySavingsBuilder
impl Unpin for EcsEstimatedMonthlySavingsBuilder
impl UnwindSafe for EcsEstimatedMonthlySavingsBuilder
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>
Creates a shared type from an unshared type.