Struct aws_sdk_computeoptimizer::types::builders::EbsSavingsOpportunityAfterDiscountsBuilder
source · #[non_exhaustive]pub struct EbsSavingsOpportunityAfterDiscountsBuilder { /* private fields */ }
Expand description
A builder for EbsSavingsOpportunityAfterDiscounts
.
Implementations§
source§impl EbsSavingsOpportunityAfterDiscountsBuilder
impl EbsSavingsOpportunityAfterDiscountsBuilder
sourcepub fn savings_opportunity_percentage(self, input: f64) -> Self
pub fn savings_opportunity_percentage(self, input: f64) -> Self
The estimated monthly savings possible as a percentage of monthly cost after applying the specific discounts. This saving can be achieved by adopting Compute Optimizer’s Amazon EBS volume recommendations.
sourcepub fn set_savings_opportunity_percentage(self, input: Option<f64>) -> Self
pub fn set_savings_opportunity_percentage(self, input: Option<f64>) -> Self
The estimated monthly savings possible as a percentage of monthly cost after applying the specific discounts. This saving can be achieved by adopting Compute Optimizer’s Amazon EBS volume recommendations.
sourcepub fn get_savings_opportunity_percentage(&self) -> &Option<f64>
pub fn get_savings_opportunity_percentage(&self) -> &Option<f64>
The estimated monthly savings possible as a percentage of monthly cost after applying the specific discounts. This saving can be achieved by adopting Compute Optimizer’s Amazon EBS volume recommendations.
sourcepub fn estimated_monthly_savings(
self,
input: EbsEstimatedMonthlySavings
) -> Self
pub fn estimated_monthly_savings( self, input: EbsEstimatedMonthlySavings ) -> Self
The estimated monthly savings possible as a percentage of monthly cost by adopting Compute Optimizer’s Amazon EBS volume recommendations. This saving includes any applicable discounts.
sourcepub fn set_estimated_monthly_savings(
self,
input: Option<EbsEstimatedMonthlySavings>
) -> Self
pub fn set_estimated_monthly_savings( self, input: Option<EbsEstimatedMonthlySavings> ) -> Self
The estimated monthly savings possible as a percentage of monthly cost by adopting Compute Optimizer’s Amazon EBS volume recommendations. This saving includes any applicable discounts.
sourcepub fn get_estimated_monthly_savings(
&self
) -> &Option<EbsEstimatedMonthlySavings>
pub fn get_estimated_monthly_savings( &self ) -> &Option<EbsEstimatedMonthlySavings>
The estimated monthly savings possible as a percentage of monthly cost by adopting Compute Optimizer’s Amazon EBS volume recommendations. This saving includes any applicable discounts.
sourcepub fn build(self) -> EbsSavingsOpportunityAfterDiscounts
pub fn build(self) -> EbsSavingsOpportunityAfterDiscounts
Consumes the builder and constructs a EbsSavingsOpportunityAfterDiscounts
.
Trait Implementations§
source§impl Clone for EbsSavingsOpportunityAfterDiscountsBuilder
impl Clone for EbsSavingsOpportunityAfterDiscountsBuilder
source§fn clone(&self) -> EbsSavingsOpportunityAfterDiscountsBuilder
fn clone(&self) -> EbsSavingsOpportunityAfterDiscountsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for EbsSavingsOpportunityAfterDiscountsBuilder
impl Default for EbsSavingsOpportunityAfterDiscountsBuilder
source§fn default() -> EbsSavingsOpportunityAfterDiscountsBuilder
fn default() -> EbsSavingsOpportunityAfterDiscountsBuilder
source§impl PartialEq for EbsSavingsOpportunityAfterDiscountsBuilder
impl PartialEq for EbsSavingsOpportunityAfterDiscountsBuilder
source§fn eq(&self, other: &EbsSavingsOpportunityAfterDiscountsBuilder) -> bool
fn eq(&self, other: &EbsSavingsOpportunityAfterDiscountsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EbsSavingsOpportunityAfterDiscountsBuilder
Auto Trait Implementations§
impl Freeze for EbsSavingsOpportunityAfterDiscountsBuilder
impl RefUnwindSafe for EbsSavingsOpportunityAfterDiscountsBuilder
impl Send for EbsSavingsOpportunityAfterDiscountsBuilder
impl Sync for EbsSavingsOpportunityAfterDiscountsBuilder
impl Unpin for EbsSavingsOpportunityAfterDiscountsBuilder
impl UnwindSafe for EbsSavingsOpportunityAfterDiscountsBuilder
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