Struct aws_sdk_iot::model::StatisticalThreshold
source · #[non_exhaustive]pub struct StatisticalThreshold { /* private fields */ }
Expand description
A statistical ranking (percentile) that indicates a threshold value by which a behavior is determined to be in compliance or in violation of the behavior.
Implementations§
source§impl StatisticalThreshold
impl StatisticalThreshold
sourcepub fn statistic(&self) -> Option<&str>
pub fn statistic(&self) -> Option<&str>
The percentile that resolves to a threshold value by which compliance with a behavior is determined. Metrics are collected over the specified period (durationSeconds
) from all reporting devices in your account and statistical ranks are calculated. Then, the measurements from a device are collected over the same period. If the accumulated measurements from the device fall above or below (comparisonOperator
) the value associated with the percentile specified, then the device is considered to be in compliance with the behavior, otherwise a violation occurs.
source§impl StatisticalThreshold
impl StatisticalThreshold
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture StatisticalThreshold
.
Trait Implementations§
source§impl Clone for StatisticalThreshold
impl Clone for StatisticalThreshold
source§fn clone(&self) -> StatisticalThreshold
fn clone(&self) -> StatisticalThreshold
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StatisticalThreshold
impl Debug for StatisticalThreshold
source§impl PartialEq<StatisticalThreshold> for StatisticalThreshold
impl PartialEq<StatisticalThreshold> for StatisticalThreshold
source§fn eq(&self, other: &StatisticalThreshold) -> bool
fn eq(&self, other: &StatisticalThreshold) -> bool
self
and other
values to be equal, and is used
by ==
.