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 ==
.impl StructuralPartialEq for OpsAggregator
Auto Trait Implementations§
impl Freeze for OpsAggregator
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more