public class StatisticalThreshold extends Object implements Serializable
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.
| Constructor and Description |
|---|
StatisticalThreshold() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getStatistic()
The percentile which resolves to a threshold value by which compliance
with a behavior is determined.
|
int |
hashCode() |
void |
setStatistic(String statistic)
The percentile which resolves to a threshold value by which compliance
with a behavior is determined.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
StatisticalThreshold |
withStatistic(String statistic)
The percentile which resolves to a threshold value by which compliance
with a behavior is determined.
|
public String getStatistic()
The percentile which 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 which 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(String statistic)
The percentile which 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 which 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(String statistic)
The percentile which 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 which 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 String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.