Struct aws_sdk_computeoptimizer::types::builders::EcsSavingsOpportunityAfterDiscountsBuilder
source · #[non_exhaustive]pub struct EcsSavingsOpportunityAfterDiscountsBuilder { /* private fields */ }
Expand description
A builder for EcsSavingsOpportunityAfterDiscounts
.
Implementations§
source§impl EcsSavingsOpportunityAfterDiscountsBuilder
impl EcsSavingsOpportunityAfterDiscountsBuilder
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 by adopting Compute Optimizer’s Amazon ECS service recommendations. This includes any applicable Savings Plans discounts.
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 by adopting Compute Optimizer’s Amazon ECS service recommendations. This includes any applicable Savings Plans discounts.
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 by adopting Compute Optimizer’s Amazon ECS service recommendations. This includes any applicable Savings Plans discounts.
sourcepub fn estimated_monthly_savings(
self,
input: EcsEstimatedMonthlySavings
) -> Self
pub fn estimated_monthly_savings( self, input: EcsEstimatedMonthlySavings ) -> Self
The estimated monthly savings possible by adopting Compute Optimizer’s Amazon ECS service recommendations. This includes any applicable Savings Plans discounts.
sourcepub fn set_estimated_monthly_savings(
self,
input: Option<EcsEstimatedMonthlySavings>
) -> Self
pub fn set_estimated_monthly_savings( self, input: Option<EcsEstimatedMonthlySavings> ) -> Self
The estimated monthly savings possible by adopting Compute Optimizer’s Amazon ECS service recommendations. This includes any applicable Savings Plans discounts.
sourcepub fn get_estimated_monthly_savings(
&self
) -> &Option<EcsEstimatedMonthlySavings>
pub fn get_estimated_monthly_savings( &self ) -> &Option<EcsEstimatedMonthlySavings>
The estimated monthly savings possible by adopting Compute Optimizer’s Amazon ECS service recommendations. This includes any applicable Savings Plans discounts.
sourcepub fn build(self) -> EcsSavingsOpportunityAfterDiscounts
pub fn build(self) -> EcsSavingsOpportunityAfterDiscounts
Consumes the builder and constructs a EcsSavingsOpportunityAfterDiscounts
.
Trait Implementations§
source§impl Clone for EcsSavingsOpportunityAfterDiscountsBuilder
impl Clone for EcsSavingsOpportunityAfterDiscountsBuilder
source§fn clone(&self) -> EcsSavingsOpportunityAfterDiscountsBuilder
fn clone(&self) -> EcsSavingsOpportunityAfterDiscountsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for EcsSavingsOpportunityAfterDiscountsBuilder
impl Default for EcsSavingsOpportunityAfterDiscountsBuilder
source§fn default() -> EcsSavingsOpportunityAfterDiscountsBuilder
fn default() -> EcsSavingsOpportunityAfterDiscountsBuilder
source§impl PartialEq for EcsSavingsOpportunityAfterDiscountsBuilder
impl PartialEq for EcsSavingsOpportunityAfterDiscountsBuilder
source§fn eq(&self, other: &EcsSavingsOpportunityAfterDiscountsBuilder) -> bool
fn eq(&self, other: &EcsSavingsOpportunityAfterDiscountsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EcsSavingsOpportunityAfterDiscountsBuilder
Auto Trait Implementations§
impl Freeze for EcsSavingsOpportunityAfterDiscountsBuilder
impl RefUnwindSafe for EcsSavingsOpportunityAfterDiscountsBuilder
impl Send for EcsSavingsOpportunityAfterDiscountsBuilder
impl Sync for EcsSavingsOpportunityAfterDiscountsBuilder
impl Unpin for EcsSavingsOpportunityAfterDiscountsBuilder
impl UnwindSafe for EcsSavingsOpportunityAfterDiscountsBuilder
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