Struct aws_sdk_devopsguru::model::CloudWatchMetricsDetail
source · [−]#[non_exhaustive]pub struct CloudWatchMetricsDetail { /* private fields */ }
Expand description
Information about an Amazon CloudWatch metric.
Implementations
sourceimpl CloudWatchMetricsDetail
impl CloudWatchMetricsDetail
sourcepub fn metric_name(&self) -> Option<&str>
pub fn metric_name(&self) -> Option<&str>
The name of the CloudWatch metric.
sourcepub fn namespace(&self) -> Option<&str>
pub fn namespace(&self) -> Option<&str>
The namespace of the CloudWatch metric. A namespace is a container for CloudWatch metrics.
sourcepub fn dimensions(&self) -> Option<&[CloudWatchMetricsDimension]>
pub fn dimensions(&self) -> Option<&[CloudWatchMetricsDimension]>
An array of CloudWatch dimensions associated with
sourcepub fn stat(&self) -> Option<&CloudWatchMetricsStat>
pub fn stat(&self) -> Option<&CloudWatchMetricsStat>
The type of statistic associated with the CloudWatch metric. For more information, see Statistics in the Amazon CloudWatch User Guide.
sourcepub fn unit(&self) -> Option<&str>
pub fn unit(&self) -> Option<&str>
The unit of measure used for the CloudWatch metric. For example, Bytes
, Seconds
, Count
, and Percent
.
sourcepub fn period(&self) -> i32
pub fn period(&self) -> i32
The length of time associated with the CloudWatch metric in number of seconds.
sourcepub fn metric_data_summary(&self) -> Option<&CloudWatchMetricsDataSummary>
pub fn metric_data_summary(&self) -> Option<&CloudWatchMetricsDataSummary>
This object returns anomaly metric data.
sourceimpl CloudWatchMetricsDetail
impl CloudWatchMetricsDetail
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CloudWatchMetricsDetail
.
Trait Implementations
sourceimpl Clone for CloudWatchMetricsDetail
impl Clone for CloudWatchMetricsDetail
sourcefn clone(&self) -> CloudWatchMetricsDetail
fn clone(&self) -> CloudWatchMetricsDetail
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for CloudWatchMetricsDetail
impl Debug for CloudWatchMetricsDetail
sourceimpl PartialEq<CloudWatchMetricsDetail> for CloudWatchMetricsDetail
impl PartialEq<CloudWatchMetricsDetail> for CloudWatchMetricsDetail
sourcefn eq(&self, other: &CloudWatchMetricsDetail) -> bool
fn eq(&self, other: &CloudWatchMetricsDetail) -> bool
impl StructuralPartialEq for CloudWatchMetricsDetail
Auto Trait Implementations
impl RefUnwindSafe for CloudWatchMetricsDetail
impl Send for CloudWatchMetricsDetail
impl Sync for CloudWatchMetricsDetail
impl Unpin for CloudWatchMetricsDetail
impl UnwindSafe for CloudWatchMetricsDetail
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more