#[non_exhaustive]pub struct RdsdbStorageRecommendationOption {
pub storage_configuration: Option<DbStorageConfiguration>,
pub rank: i32,
pub savings_opportunity: Option<SavingsOpportunity>,
pub savings_opportunity_after_discounts: Option<RdsStorageSavingsOpportunityAfterDiscounts>,
}
Expand description
Describes the recommendation options for Amazon RDS storage.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.storage_configuration: Option<DbStorageConfiguration>
The recommended storage configuration.
rank: i32
The rank identifier of the RDS storage recommendation option.
savings_opportunity: Option<SavingsOpportunity>
Describes the savings opportunity for recommendations of a given resource type or for the recommendation option of an individual resource.
Savings opportunity represents the estimated monthly savings you can achieve by implementing a given Compute Optimizer recommendation.
Savings opportunity data requires that you opt in to Cost Explorer, as well as activate Receive Amazon EC2 resource recommendations in the Cost Explorer preferences page. That creates a connection between Cost Explorer and Compute Optimizer. With this connection, Cost Explorer generates savings estimates considering the price of existing resources, the price of recommended resources, and historical usage data. Estimated monthly savings reflects the projected dollar savings associated with each of the recommendations generated. For more information, see Enabling Cost Explorer and Optimizing your cost with Rightsizing Recommendations in the Cost Management User Guide.
savings_opportunity_after_discounts: Option<RdsStorageSavingsOpportunityAfterDiscounts>
Describes the savings opportunity for Amazon RDS storage recommendations or for the recommendation option.
Savings opportunity represents the estimated monthly savings after applying Savings Plans discounts. You can achieve this by implementing a given Compute Optimizer recommendation.
Implementations§
source§impl RdsdbStorageRecommendationOption
impl RdsdbStorageRecommendationOption
sourcepub fn storage_configuration(&self) -> Option<&DbStorageConfiguration>
pub fn storage_configuration(&self) -> Option<&DbStorageConfiguration>
The recommended storage configuration.
sourcepub fn savings_opportunity(&self) -> Option<&SavingsOpportunity>
pub fn savings_opportunity(&self) -> Option<&SavingsOpportunity>
Describes the savings opportunity for recommendations of a given resource type or for the recommendation option of an individual resource.
Savings opportunity represents the estimated monthly savings you can achieve by implementing a given Compute Optimizer recommendation.
Savings opportunity data requires that you opt in to Cost Explorer, as well as activate Receive Amazon EC2 resource recommendations in the Cost Explorer preferences page. That creates a connection between Cost Explorer and Compute Optimizer. With this connection, Cost Explorer generates savings estimates considering the price of existing resources, the price of recommended resources, and historical usage data. Estimated monthly savings reflects the projected dollar savings associated with each of the recommendations generated. For more information, see Enabling Cost Explorer and Optimizing your cost with Rightsizing Recommendations in the Cost Management User Guide.
sourcepub fn savings_opportunity_after_discounts(
&self,
) -> Option<&RdsStorageSavingsOpportunityAfterDiscounts>
pub fn savings_opportunity_after_discounts( &self, ) -> Option<&RdsStorageSavingsOpportunityAfterDiscounts>
Describes the savings opportunity for Amazon RDS storage recommendations or for the recommendation option.
Savings opportunity represents the estimated monthly savings after applying Savings Plans discounts. You can achieve this by implementing a given Compute Optimizer recommendation.
source§impl RdsdbStorageRecommendationOption
impl RdsdbStorageRecommendationOption
sourcepub fn builder() -> RdsdbStorageRecommendationOptionBuilder
pub fn builder() -> RdsdbStorageRecommendationOptionBuilder
Creates a new builder-style object to manufacture RdsdbStorageRecommendationOption
.
Trait Implementations§
source§impl Clone for RdsdbStorageRecommendationOption
impl Clone for RdsdbStorageRecommendationOption
source§fn clone(&self) -> RdsdbStorageRecommendationOption
fn clone(&self) -> RdsdbStorageRecommendationOption
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for RdsdbStorageRecommendationOption
impl PartialEq for RdsdbStorageRecommendationOption
source§fn eq(&self, other: &RdsdbStorageRecommendationOption) -> bool
fn eq(&self, other: &RdsdbStorageRecommendationOption) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for RdsdbStorageRecommendationOption
Auto Trait Implementations§
impl Freeze for RdsdbStorageRecommendationOption
impl RefUnwindSafe for RdsdbStorageRecommendationOption
impl Send for RdsdbStorageRecommendationOption
impl Sync for RdsdbStorageRecommendationOption
impl Unpin for RdsdbStorageRecommendationOption
impl UnwindSafe for RdsdbStorageRecommendationOption
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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