[−][src]Struct rusoto_iot::BehaviorCriteria
The criteria by which the behavior is determined to be normal.
Fields
comparison_operator: Option<String>
The operator that relates the thing measured (metric
) to the criteria (containing a value
or statisticalThreshold
).
consecutive_datapoints_to_alarm: Option<i64>
If a device is in violation of the behavior for the specified number of consecutive datapoints, an alarm occurs. If not specified, the default is 1.
consecutive_datapoints_to_clear: Option<i64>
If an alarm has occurred and the offending device is no longer in violation of the behavior for the specified number of consecutive datapoints, the alarm is cleared. If not specified, the default is 1.
duration_seconds: Option<i64>
Use this to specify the time duration over which the behavior is evaluated, for those criteria which have a time dimension (for example, NUM_MESSAGES_SENT
). For a statisticalThreshhold
metric comparison, measurements from all devices are accumulated over this time duration before being used to calculate percentiles, and later, measurements from an individual device are also accumulated over this time duration before being given a percentile rank.
statistical_threshold: Option<StatisticalThreshold>
A statistical ranking (percentile) which indicates a threshold value by which a behavior is determined to be in compliance or in violation of the behavior.
value: Option<MetricValue>
The value to be compared with the metric
.
Trait Implementations
impl Clone for BehaviorCriteria
[src]
fn clone(&self) -> BehaviorCriteria
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for BehaviorCriteria
[src]
fn default() -> BehaviorCriteria
[src]
impl PartialEq<BehaviorCriteria> for BehaviorCriteria
[src]
fn eq(&self, other: &BehaviorCriteria) -> bool
[src]
fn ne(&self, other: &BehaviorCriteria) -> bool
[src]
impl Debug for BehaviorCriteria
[src]
impl Serialize for BehaviorCriteria
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for BehaviorCriteria
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for BehaviorCriteria
impl Sync for BehaviorCriteria
impl Unpin for BehaviorCriteria
impl UnwindSafe for BehaviorCriteria
impl RefUnwindSafe for BehaviorCriteria
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> Same<T> for T
type Output = T
Should always be Self