#[non_exhaustive]pub struct RdsEffectiveRecommendationPreferences {
pub cpu_vendor_architectures: Option<Vec<CpuVendorArchitecture>>,
pub enhanced_infrastructure_metrics: Option<EnhancedInfrastructureMetrics>,
pub look_back_period: Option<LookBackPeriodPreference>,
pub savings_estimation_mode: Option<RdsSavingsEstimationMode>,
}
Expand description
Describes the effective recommendation preferences for Amazon RDS.
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.cpu_vendor_architectures: Option<Vec<CpuVendorArchitecture>>
Describes the CPU vendor and architecture for Amazon RDS recommendations.
enhanced_infrastructure_metrics: Option<EnhancedInfrastructureMetrics>
Describes the activation status of the enhanced infrastructure metrics preference.
A status of Active
confirms that the preference is applied in the latest recommendation refresh, and a status of Inactive
confirms that it's not yet applied to recommendations.
For more information, see Enhanced infrastructure metrics in the Compute Optimizer User Guide.
look_back_period: Option<LookBackPeriodPreference>
The number of days the utilization metrics of the Amazon RDS are analyzed.
savings_estimation_mode: Option<RdsSavingsEstimationMode>
Describes the savings estimation mode preference applied for calculating savings opportunity for Amazon RDS.
Implementations§
source§impl RdsEffectiveRecommendationPreferences
impl RdsEffectiveRecommendationPreferences
sourcepub fn cpu_vendor_architectures(&self) -> &[CpuVendorArchitecture]
pub fn cpu_vendor_architectures(&self) -> &[CpuVendorArchitecture]
Describes the CPU vendor and architecture for Amazon RDS recommendations.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .cpu_vendor_architectures.is_none()
.
sourcepub fn enhanced_infrastructure_metrics(
&self,
) -> Option<&EnhancedInfrastructureMetrics>
pub fn enhanced_infrastructure_metrics( &self, ) -> Option<&EnhancedInfrastructureMetrics>
Describes the activation status of the enhanced infrastructure metrics preference.
A status of Active
confirms that the preference is applied in the latest recommendation refresh, and a status of Inactive
confirms that it's not yet applied to recommendations.
For more information, see Enhanced infrastructure metrics in the Compute Optimizer User Guide.
sourcepub fn look_back_period(&self) -> Option<&LookBackPeriodPreference>
pub fn look_back_period(&self) -> Option<&LookBackPeriodPreference>
The number of days the utilization metrics of the Amazon RDS are analyzed.
sourcepub fn savings_estimation_mode(&self) -> Option<&RdsSavingsEstimationMode>
pub fn savings_estimation_mode(&self) -> Option<&RdsSavingsEstimationMode>
Describes the savings estimation mode preference applied for calculating savings opportunity for Amazon RDS.
source§impl RdsEffectiveRecommendationPreferences
impl RdsEffectiveRecommendationPreferences
sourcepub fn builder() -> RdsEffectiveRecommendationPreferencesBuilder
pub fn builder() -> RdsEffectiveRecommendationPreferencesBuilder
Creates a new builder-style object to manufacture RdsEffectiveRecommendationPreferences
.
Trait Implementations§
source§impl Clone for RdsEffectiveRecommendationPreferences
impl Clone for RdsEffectiveRecommendationPreferences
source§fn clone(&self) -> RdsEffectiveRecommendationPreferences
fn clone(&self) -> RdsEffectiveRecommendationPreferences
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for RdsEffectiveRecommendationPreferences
impl PartialEq for RdsEffectiveRecommendationPreferences
source§fn eq(&self, other: &RdsEffectiveRecommendationPreferences) -> bool
fn eq(&self, other: &RdsEffectiveRecommendationPreferences) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for RdsEffectiveRecommendationPreferences
Auto Trait Implementations§
impl Freeze for RdsEffectiveRecommendationPreferences
impl RefUnwindSafe for RdsEffectiveRecommendationPreferences
impl Send for RdsEffectiveRecommendationPreferences
impl Sync for RdsEffectiveRecommendationPreferences
impl Unpin for RdsEffectiveRecommendationPreferences
impl UnwindSafe for RdsEffectiveRecommendationPreferences
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