#[non_exhaustive]pub struct ExternalMetricsPreference { /* private fields */ }Expand description
Describes the external metrics preferences for EC2 rightsizing recommendations.
Implementations§
source§impl ExternalMetricsPreference
impl ExternalMetricsPreference
sourcepub fn source(&self) -> Option<&ExternalMetricsSource>
pub fn source(&self) -> Option<&ExternalMetricsSource>
Contains the source options for external metrics preferences.
source§impl ExternalMetricsPreference
impl ExternalMetricsPreference
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ExternalMetricsPreference.
Trait Implementations§
source§impl Clone for ExternalMetricsPreference
impl Clone for ExternalMetricsPreference
source§fn clone(&self) -> ExternalMetricsPreference
fn clone(&self) -> ExternalMetricsPreference
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 Debug for ExternalMetricsPreference
impl Debug for ExternalMetricsPreference
source§impl PartialEq<ExternalMetricsPreference> for ExternalMetricsPreference
impl PartialEq<ExternalMetricsPreference> for ExternalMetricsPreference
source§fn eq(&self, other: &ExternalMetricsPreference) -> bool
fn eq(&self, other: &ExternalMetricsPreference) -> bool
This method tests for
self and other values to be equal, and is used
by ==.