public static interface SingleMetricAnomalyDetector.Builder extends SdkPojo, CopyableBuilder<SingleMetricAnomalyDetector.Builder,SingleMetricAnomalyDetector>
| Modifier and Type | Method and Description |
|---|---|
SingleMetricAnomalyDetector.Builder |
dimensions(Collection<Dimension> dimensions)
The metric dimensions to create the anomaly detection model for.
|
SingleMetricAnomalyDetector.Builder |
dimensions(Consumer<Dimension.Builder>... dimensions)
The metric dimensions to create the anomaly detection model for.
|
SingleMetricAnomalyDetector.Builder |
dimensions(Dimension... dimensions)
The metric dimensions to create the anomaly detection model for.
|
SingleMetricAnomalyDetector.Builder |
metricName(String metricName)
The name of the metric to create the anomaly detection model for.
|
SingleMetricAnomalyDetector.Builder |
namespace(String namespace)
The namespace of the metric to create the anomaly detection model for.
|
SingleMetricAnomalyDetector.Builder |
stat(String stat)
The statistic to use for the metric and anomaly detection model.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildSingleMetricAnomalyDetector.Builder namespace(String namespace)
The namespace of the metric to create the anomaly detection model for.
namespace - The namespace of the metric to create the anomaly detection model for.SingleMetricAnomalyDetector.Builder metricName(String metricName)
The name of the metric to create the anomaly detection model for.
metricName - The name of the metric to create the anomaly detection model for.SingleMetricAnomalyDetector.Builder dimensions(Collection<Dimension> dimensions)
The metric dimensions to create the anomaly detection model for.
dimensions - The metric dimensions to create the anomaly detection model for.SingleMetricAnomalyDetector.Builder dimensions(Dimension... dimensions)
The metric dimensions to create the anomaly detection model for.
dimensions - The metric dimensions to create the anomaly detection model for.SingleMetricAnomalyDetector.Builder dimensions(Consumer<Dimension.Builder>... dimensions)
The metric dimensions to create the anomaly detection model for.
This is a convenience method that creates an instance of theDimension.Builder avoiding the need to create one
manually via Dimension.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #dimensions(List.
dimensions - a consumer that will call methods on
Dimension.Builder#dimensions(java.util.Collection) SingleMetricAnomalyDetector.Builder stat(String stat)
The statistic to use for the metric and anomaly detection model.
stat - The statistic to use for the metric and anomaly detection model.Copyright © 2023. All rights reserved.