Struct aws_sdk_iot::model::MetricDimension
source · #[non_exhaustive]pub struct MetricDimension { /* private fields */ }
Expand description
The dimension of a metric.
Implementations§
source§impl MetricDimension
impl MetricDimension
sourcepub fn dimension_name(&self) -> Option<&str>
pub fn dimension_name(&self) -> Option<&str>
A unique identifier for the dimension.
sourcepub fn operator(&self) -> Option<&DimensionValueOperator>
pub fn operator(&self) -> Option<&DimensionValueOperator>
Defines how the dimensionValues
of a dimension are interpreted. For example, for dimension type TOPIC_FILTER, the IN
operator, a message will be counted only if its topic matches one of the topic filters. With NOT_IN
operator, a message will be counted only if it doesn't match any of the topic filters. The operator is optional: if it's not provided (is null
), it will be interpreted as IN
.
source§impl MetricDimension
impl MetricDimension
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture MetricDimension
.
Trait Implementations§
source§impl Clone for MetricDimension
impl Clone for MetricDimension
source§fn clone(&self) -> MetricDimension
fn clone(&self) -> MetricDimension
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 MetricDimension
impl Debug for MetricDimension
source§impl PartialEq<MetricDimension> for MetricDimension
impl PartialEq<MetricDimension> for MetricDimension
source§fn eq(&self, other: &MetricDimension) -> bool
fn eq(&self, other: &MetricDimension) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.