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
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
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 aggregators(&self) -> Option<&[OpsAggregator]>
pub fn aggregators(&self) -> Option<&[OpsAggregator]>
A nested aggregator for viewing counts of OpsData.
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
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 OpsAggregator
impl Debug for OpsAggregator
source§impl PartialEq<OpsAggregator> for OpsAggregator
impl PartialEq<OpsAggregator> for OpsAggregator
source§fn eq(&self, other: &OpsAggregator) -> bool
fn eq(&self, other: &OpsAggregator) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for OpsAggregator
Auto Trait Implementations§
impl RefUnwindSafe for OpsAggregator
impl Send for OpsAggregator
impl Sync for OpsAggregator
impl Unpin for OpsAggregator
impl UnwindSafe for OpsAggregator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more