public static interface MetricMathAnomalyDetector.Builder extends SdkPojo, CopyableBuilder<MetricMathAnomalyDetector.Builder,MetricMathAnomalyDetector>
Modifier and Type | Method and Description |
---|---|
MetricMathAnomalyDetector.Builder |
metricDataQueries(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.Builder |
metricDataQueries(Consumer<MetricDataQuery.Builder>... 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.Builder |
metricDataQueries(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.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
MetricMathAnomalyDetector.Builder metricDataQueries(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.MetricMathAnomalyDetector.Builder metricDataQueries(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.MetricMathAnomalyDetector.Builder metricDataQueries(Consumer<MetricDataQuery.Builder>... 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.
List.Builder
avoiding the need
to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #metricDataQueries(List)
.metricDataQueries
- a consumer that will call methods on List.Builder
#metricDataQueries(List)
Copyright © 2021. All rights reserved.