public class StatisticalThreshold
extends java.lang.Object
implements java.io.Serializable
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.
Constructor and Description |
---|
StatisticalThreshold() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getStatistic()
The percentile that resolves to a threshold value by which compliance
with a behavior is determined.
|
int |
hashCode() |
void |
setStatistic(java.lang.String statistic)
The percentile that resolves to a threshold value by which compliance
with a behavior is determined.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
StatisticalThreshold |
withStatistic(java.lang.String statistic)
The percentile that resolves to a threshold value by which compliance
with a behavior is determined.
|
public java.lang.String getStatistic()
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.
Constraints:
Pattern: (p0|p0\.1|p0\.01|p1|p10|p50|p90|p99|p99\.9|p99\.99|p100)
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.
public void setStatistic(java.lang.String statistic)
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.
Constraints:
Pattern: (p0|p0\.1|p0\.01|p1|p10|p50|p90|p99|p99\.9|p99\.99|p100)
statistic
-
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.
public StatisticalThreshold withStatistic(java.lang.String statistic)
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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: (p0|p0\.1|p0\.01|p1|p10|p50|p90|p99|p99\.9|p99\.99|p100)
statistic
-
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.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.