@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MetricMathAnomalyDetector extends Object implements Serializable, Cloneable
Indicates the CloudWatch math expression that provides the time series the anomaly detector uses as input. The designated math expression must return a single time series.
| Constructor and Description |
|---|
MetricMathAnomalyDetector() |
| Modifier and Type | Method and Description |
|---|---|
MetricMathAnomalyDetector |
clone() |
boolean |
equals(Object obj) |
List<MetricDataQuery> |
getMetricDataQueries()
An array of metric data query structures that enables you to create an anomaly detector based on the result of a
metric math expression.
|
int |
hashCode() |
void |
setMetricDataQueries(Collection<MetricDataQuery> metricDataQueries)
An array of metric data query structures that enables you to create an anomaly detector based on the result of a
metric math expression.
|
String |
toString()
Returns a string representation of this object.
|
MetricMathAnomalyDetector |
withMetricDataQueries(Collection<MetricDataQuery> metricDataQueries)
An array of metric data query structures that enables you to create an anomaly detector based on the result of a
metric math expression.
|
MetricMathAnomalyDetector |
withMetricDataQueries(MetricDataQuery... metricDataQueries)
An array of metric data query structures that enables you to create an anomaly detector based on the result of a
metric math expression.
|
public List<MetricDataQuery> getMetricDataQueries()
An array of metric data query structures that enables you to create an anomaly detector based on the result of a
metric math expression. Each item in MetricDataQueries gets a metric or performs a math expression.
One item in MetricDataQueries is the expression that provides the time series that the anomaly
detector uses as input. Designate the expression by setting ReturnData to true for this
object in the array. For all other expressions and metrics, set ReturnData to false.
The designated expression must return a single time series.
MetricDataQueries gets a metric or performs
a math expression. One item in MetricDataQueries is the expression that provides the time
series that the anomaly detector uses as input. Designate the expression by setting
ReturnData to true for this object in the array. For all other expressions and
metrics, set ReturnData to false. The designated expression must return a
single time series.public void setMetricDataQueries(Collection<MetricDataQuery> metricDataQueries)
An array of metric data query structures that enables you to create an anomaly detector based on the result of a
metric math expression. Each item in MetricDataQueries gets a metric or performs a math expression.
One item in MetricDataQueries is the expression that provides the time series that the anomaly
detector uses as input. Designate the expression by setting ReturnData to true for this
object in the array. For all other expressions and metrics, set ReturnData to false.
The designated expression must return a single time series.
metricDataQueries - An array of metric data query structures that enables you to create an anomaly detector based on the
result of a metric math expression. Each item in MetricDataQueries gets a metric or performs
a math expression. One item in MetricDataQueries is the expression that provides the time
series that the anomaly detector uses as input. Designate the expression by setting
ReturnData to true for this object in the array. For all other expressions and
metrics, set ReturnData to false. The designated expression must return a single
time series.public MetricMathAnomalyDetector withMetricDataQueries(MetricDataQuery... metricDataQueries)
An array of metric data query structures that enables you to create an anomaly detector based on the result of a
metric math expression. Each item in MetricDataQueries gets a metric or performs a math expression.
One item in MetricDataQueries is the expression that provides the time series that the anomaly
detector uses as input. Designate the expression by setting ReturnData to true for this
object in the array. For all other expressions and metrics, set ReturnData to false.
The designated expression must return a single time series.
NOTE: This method appends the values to the existing list (if any). Use
setMetricDataQueries(java.util.Collection) or withMetricDataQueries(java.util.Collection) if
you want to override the existing values.
metricDataQueries - An array of metric data query structures that enables you to create an anomaly detector based on the
result of a metric math expression. Each item in MetricDataQueries gets a metric or performs
a math expression. One item in MetricDataQueries is the expression that provides the time
series that the anomaly detector uses as input. Designate the expression by setting
ReturnData to true for this object in the array. For all other expressions and
metrics, set ReturnData to false. The designated expression must return a single
time series.public MetricMathAnomalyDetector withMetricDataQueries(Collection<MetricDataQuery> metricDataQueries)
An array of metric data query structures that enables you to create an anomaly detector based on the result of a
metric math expression. Each item in MetricDataQueries gets a metric or performs a math expression.
One item in MetricDataQueries is the expression that provides the time series that the anomaly
detector uses as input. Designate the expression by setting ReturnData to true for this
object in the array. For all other expressions and metrics, set ReturnData to false.
The designated expression must return a single time series.
metricDataQueries - An array of metric data query structures that enables you to create an anomaly detector based on the
result of a metric math expression. Each item in MetricDataQueries gets a metric or performs
a math expression. One item in MetricDataQueries is the expression that provides the time
series that the anomaly detector uses as input. Designate the expression by setting
ReturnData to true for this object in the array. For all other expressions and
metrics, set ReturnData to false. The designated expression must return a single
time series.public String toString()
toString in class ObjectObject.toString()public MetricMathAnomalyDetector clone()