Struct aws_sdk_iot::types::builders::StatisticalThresholdBuilder   
source · #[non_exhaustive]pub struct StatisticalThresholdBuilder { /* private fields */ }Expand description
A builder for StatisticalThreshold.
Implementations§
source§impl StatisticalThresholdBuilder
 
impl StatisticalThresholdBuilder
sourcepub fn statistic(self, input: impl Into<String>) -> Self
 
pub fn statistic(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_statistic(self, input: Option<String>) -> Self
 
pub fn set_statistic(self, input: Option<String>) -> Self
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.
sourcepub fn get_statistic(&self) -> &Option<String>
 
pub fn get_statistic(&self) -> &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.
sourcepub fn build(self) -> StatisticalThreshold
 
pub fn build(self) -> StatisticalThreshold
Consumes the builder and constructs a StatisticalThreshold.
Trait Implementations§
source§impl Clone for StatisticalThresholdBuilder
 
impl Clone for StatisticalThresholdBuilder
source§fn clone(&self) -> StatisticalThresholdBuilder
 
fn clone(&self) -> StatisticalThresholdBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for StatisticalThresholdBuilder
 
impl Debug for StatisticalThresholdBuilder
source§impl Default for StatisticalThresholdBuilder
 
impl Default for StatisticalThresholdBuilder
source§fn default() -> StatisticalThresholdBuilder
 
fn default() -> StatisticalThresholdBuilder
source§impl PartialEq for StatisticalThresholdBuilder
 
impl PartialEq for StatisticalThresholdBuilder
source§fn eq(&self, other: &StatisticalThresholdBuilder) -> bool
 
fn eq(&self, other: &StatisticalThresholdBuilder) -> bool
self and other values to be equal, and is used
by ==.