Struct aws_sdk_iot::types::StatisticalThreshold
source · #[non_exhaustive]pub struct StatisticalThreshold {
pub statistic: Option<String>,
}
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.
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.statistic: Option<String>
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.
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() -> StatisticalThresholdBuilder
pub fn builder() -> StatisticalThresholdBuilder
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 for StatisticalThreshold
impl PartialEq 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 ==
.