Struct aws_sdk_devopsguru::model::CloudWatchMetricsDetail
source · #[non_exhaustive]pub struct CloudWatchMetricsDetail { /* private fields */ }
Expand description
Information about an Amazon CloudWatch metric.
Implementations§
source§impl 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.
source§impl CloudWatchMetricsDetail
impl CloudWatchMetricsDetail
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CloudWatchMetricsDetail
.
Trait Implementations§
source§impl Clone for CloudWatchMetricsDetail
impl Clone for CloudWatchMetricsDetail
source§fn clone(&self) -> CloudWatchMetricsDetail
fn clone(&self) -> CloudWatchMetricsDetail
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 CloudWatchMetricsDetail
impl Debug for CloudWatchMetricsDetail
source§impl PartialEq<CloudWatchMetricsDetail> for CloudWatchMetricsDetail
impl PartialEq<CloudWatchMetricsDetail> for CloudWatchMetricsDetail
source§fn eq(&self, other: &CloudWatchMetricsDetail) -> bool
fn eq(&self, other: &CloudWatchMetricsDetail) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.