#[non_exhaustive]pub struct EbsSavingsEstimationModeBuilder { /* private fields */ }
Expand description
A builder for EbsSavingsEstimationMode
.
Implementations§
source§impl EbsSavingsEstimationModeBuilder
impl EbsSavingsEstimationModeBuilder
sourcepub fn source(self, input: EbsSavingsEstimationModeSource) -> Self
pub fn source(self, input: EbsSavingsEstimationModeSource) -> Self
Describes the source for calculating the savings opportunity for Amazon EBS volumes.
sourcepub fn set_source(self, input: Option<EbsSavingsEstimationModeSource>) -> Self
pub fn set_source(self, input: Option<EbsSavingsEstimationModeSource>) -> Self
Describes the source for calculating the savings opportunity for Amazon EBS volumes.
sourcepub fn get_source(&self) -> &Option<EbsSavingsEstimationModeSource>
pub fn get_source(&self) -> &Option<EbsSavingsEstimationModeSource>
Describes the source for calculating the savings opportunity for Amazon EBS volumes.
sourcepub fn build(self) -> EbsSavingsEstimationMode
pub fn build(self) -> EbsSavingsEstimationMode
Consumes the builder and constructs a EbsSavingsEstimationMode
.
Trait Implementations§
source§impl Clone for EbsSavingsEstimationModeBuilder
impl Clone for EbsSavingsEstimationModeBuilder
source§fn clone(&self) -> EbsSavingsEstimationModeBuilder
fn clone(&self) -> EbsSavingsEstimationModeBuilder
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 EbsSavingsEstimationModeBuilder
impl Default for EbsSavingsEstimationModeBuilder
source§fn default() -> EbsSavingsEstimationModeBuilder
fn default() -> EbsSavingsEstimationModeBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for EbsSavingsEstimationModeBuilder
impl PartialEq for EbsSavingsEstimationModeBuilder
source§fn eq(&self, other: &EbsSavingsEstimationModeBuilder) -> bool
fn eq(&self, other: &EbsSavingsEstimationModeBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EbsSavingsEstimationModeBuilder
Auto Trait Implementations§
impl Freeze for EbsSavingsEstimationModeBuilder
impl RefUnwindSafe for EbsSavingsEstimationModeBuilder
impl Send for EbsSavingsEstimationModeBuilder
impl Sync for EbsSavingsEstimationModeBuilder
impl Unpin for EbsSavingsEstimationModeBuilder
impl UnwindSafe for EbsSavingsEstimationModeBuilder
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>
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.