Struct aws_sdk_ssm::types::OpsAggregator
source · #[non_exhaustive]pub struct OpsAggregator {
pub aggregator_type: Option<String>,
pub type_name: Option<String>,
pub attribute_name: Option<String>,
pub values: Option<HashMap<String, String>>,
pub filters: Option<Vec<OpsFilter>>,
pub aggregators: Option<Vec<OpsAggregator>>,
}
Expand description
One or more aggregators for viewing counts of OpsData using different dimensions such as Source
, CreatedTime
, or Source and CreatedTime
, to name a few.
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.aggregator_type: Option<String>
Either a Range
or Count
aggregator for limiting an OpsData summary.
type_name: Option<String>
The data type name to use for viewing counts of OpsData.
attribute_name: Option<String>
The name of an OpsData attribute on which to limit the count of OpsData.
values: Option<HashMap<String, String>>
The aggregator value.
filters: Option<Vec<OpsFilter>>
The aggregator filters.
aggregators: Option<Vec<OpsAggregator>>
A nested aggregator for viewing counts of OpsData.
Implementations§
source§impl OpsAggregator
impl OpsAggregator
sourcepub fn aggregator_type(&self) -> Option<&str>
pub fn aggregator_type(&self) -> Option<&str>
Either a Range
or Count
aggregator for limiting an OpsData summary.
sourcepub fn type_name(&self) -> Option<&str>
pub fn type_name(&self) -> Option<&str>
The data type name to use for viewing counts of OpsData.
sourcepub fn attribute_name(&self) -> Option<&str>
pub fn attribute_name(&self) -> Option<&str>
The name of an OpsData attribute on which to limit the count of OpsData.
sourcepub fn filters(&self) -> &[OpsFilter]
pub fn filters(&self) -> &[OpsFilter]
The aggregator filters.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .filters.is_none()
.
sourcepub fn aggregators(&self) -> &[OpsAggregator]
pub fn aggregators(&self) -> &[OpsAggregator]
A nested aggregator for viewing counts of OpsData.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .aggregators.is_none()
.
source§impl OpsAggregator
impl OpsAggregator
sourcepub fn builder() -> OpsAggregatorBuilder
pub fn builder() -> OpsAggregatorBuilder
Creates a new builder-style object to manufacture OpsAggregator
.
Trait Implementations§
source§impl Clone for OpsAggregator
impl Clone for OpsAggregator
source§fn clone(&self) -> OpsAggregator
fn clone(&self) -> OpsAggregator
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for OpsAggregator
impl Debug for OpsAggregator
source§impl PartialEq for OpsAggregator
impl PartialEq for OpsAggregator
source§fn eq(&self, other: &OpsAggregator) -> bool
fn eq(&self, other: &OpsAggregator) -> bool
self
and other
values to be equal, and is used
by ==
.