public static interface AnomalyDetector.Builder extends SdkPojo, CopyableBuilder<AnomalyDetector.Builder,AnomalyDetector>
Modifier and Type | Method and Description |
---|---|
AnomalyDetector.Builder |
configuration(AnomalyDetectorConfiguration configuration)
The configuration specifies details about how the anomaly detection model is to be trained, including time
ranges to exclude from use for training the model, and the time zone to use for the metric.
|
default AnomalyDetector.Builder |
configuration(Consumer<AnomalyDetectorConfiguration.Builder> configuration)
The configuration specifies details about how the anomaly detection model is to be trained, including time
ranges to exclude from use for training the model, and the time zone to use for the metric.
|
AnomalyDetector.Builder |
dimensions(Collection<Dimension> dimensions)
Deprecated.
Use SingleMetricAnomalyDetector.Dimensions property.
|
AnomalyDetector.Builder |
dimensions(Consumer<Dimension.Builder>... dimensions)
Deprecated.
Use SingleMetricAnomalyDetector.Dimensions property.
|
AnomalyDetector.Builder |
dimensions(Dimension... dimensions)
Deprecated.
Use SingleMetricAnomalyDetector.Dimensions property.
|
default AnomalyDetector.Builder |
metricMathAnomalyDetector(Consumer<MetricMathAnomalyDetector.Builder> metricMathAnomalyDetector)
The CloudWatch metric math expression for this anomaly detector.
|
AnomalyDetector.Builder |
metricMathAnomalyDetector(MetricMathAnomalyDetector metricMathAnomalyDetector)
The CloudWatch metric math expression for this anomaly detector.
|
AnomalyDetector.Builder |
metricName(String metricName)
Deprecated.
Use SingleMetricAnomalyDetector.MetricName property.
|
AnomalyDetector.Builder |
namespace(String namespace)
Deprecated.
Use SingleMetricAnomalyDetector.Namespace property.
|
default AnomalyDetector.Builder |
singleMetricAnomalyDetector(Consumer<SingleMetricAnomalyDetector.Builder> singleMetricAnomalyDetector)
The CloudWatch metric and statistic for this anomaly detector.
|
AnomalyDetector.Builder |
singleMetricAnomalyDetector(SingleMetricAnomalyDetector singleMetricAnomalyDetector)
The CloudWatch metric and statistic for this anomaly detector.
|
AnomalyDetector.Builder |
stat(String stat)
Deprecated.
Use SingleMetricAnomalyDetector.Stat property.
|
AnomalyDetector.Builder |
stateValue(AnomalyDetectorStateValue stateValue)
The current status of the anomaly detector's training.
|
AnomalyDetector.Builder |
stateValue(String stateValue)
The current status of the anomaly detector's training.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
@Deprecated AnomalyDetector.Builder namespace(String namespace)
The namespace of the metric associated with the anomaly detection model.
namespace
- The namespace of the metric associated with the anomaly detection model.@Deprecated AnomalyDetector.Builder metricName(String metricName)
The name of the metric associated with the anomaly detection model.
metricName
- The name of the metric associated with the anomaly detection model.@Deprecated AnomalyDetector.Builder dimensions(Collection<Dimension> dimensions)
The metric dimensions associated with the anomaly detection model.
dimensions
- The metric dimensions associated with the anomaly detection model.@Deprecated AnomalyDetector.Builder dimensions(Dimension... dimensions)
The metric dimensions associated with the anomaly detection model.
dimensions
- The metric dimensions associated with the anomaly detection model.@Deprecated AnomalyDetector.Builder dimensions(Consumer<Dimension.Builder>... dimensions)
The metric dimensions associated with the anomaly detection model.
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)
@Deprecated AnomalyDetector.Builder stat(String stat)
The statistic associated with the anomaly detection model.
stat
- The statistic associated with the anomaly detection model.AnomalyDetector.Builder configuration(AnomalyDetectorConfiguration configuration)
The configuration specifies details about how the anomaly detection model is to be trained, including time ranges to exclude from use for training the model, and the time zone to use for the metric.
configuration
- The configuration specifies details about how the anomaly detection model is to be trained, including
time ranges to exclude from use for training the model, and the time zone to use for the metric.default AnomalyDetector.Builder configuration(Consumer<AnomalyDetectorConfiguration.Builder> configuration)
The configuration specifies details about how the anomaly detection model is to be trained, including time ranges to exclude from use for training the model, and the time zone to use for the metric.
This is a convenience method that creates an instance of theAnomalyDetectorConfiguration.Builder
avoiding the need to create one manually via AnomalyDetectorConfiguration.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to configuration(AnomalyDetectorConfiguration)
.
configuration
- a consumer that will call methods on AnomalyDetectorConfiguration.Builder
configuration(AnomalyDetectorConfiguration)
AnomalyDetector.Builder stateValue(String stateValue)
The current status of the anomaly detector's training. The possible values are
TRAINED | PENDING_TRAINING | TRAINED_INSUFFICIENT_DATA
stateValue
- The current status of the anomaly detector's training. The possible values are
TRAINED | PENDING_TRAINING | TRAINED_INSUFFICIENT_DATA
AnomalyDetectorStateValue
,
AnomalyDetectorStateValue
AnomalyDetector.Builder stateValue(AnomalyDetectorStateValue stateValue)
The current status of the anomaly detector's training. The possible values are
TRAINED | PENDING_TRAINING | TRAINED_INSUFFICIENT_DATA
stateValue
- The current status of the anomaly detector's training. The possible values are
TRAINED | PENDING_TRAINING | TRAINED_INSUFFICIENT_DATA
AnomalyDetectorStateValue
,
AnomalyDetectorStateValue
AnomalyDetector.Builder singleMetricAnomalyDetector(SingleMetricAnomalyDetector singleMetricAnomalyDetector)
The CloudWatch metric and statistic for this anomaly detector.
singleMetricAnomalyDetector
- The CloudWatch metric and statistic for this anomaly detector.default AnomalyDetector.Builder singleMetricAnomalyDetector(Consumer<SingleMetricAnomalyDetector.Builder> singleMetricAnomalyDetector)
The CloudWatch metric and statistic for this anomaly detector.
This is a convenience method that creates an instance of theSingleMetricAnomalyDetector.Builder
avoiding the need to create one manually via SingleMetricAnomalyDetector.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to singleMetricAnomalyDetector(SingleMetricAnomalyDetector)
.
singleMetricAnomalyDetector
- a consumer that will call methods on SingleMetricAnomalyDetector.Builder
singleMetricAnomalyDetector(SingleMetricAnomalyDetector)
AnomalyDetector.Builder metricMathAnomalyDetector(MetricMathAnomalyDetector metricMathAnomalyDetector)
The CloudWatch metric math expression for this anomaly detector.
metricMathAnomalyDetector
- The CloudWatch metric math expression for this anomaly detector.default AnomalyDetector.Builder metricMathAnomalyDetector(Consumer<MetricMathAnomalyDetector.Builder> metricMathAnomalyDetector)
The CloudWatch metric math expression for this anomaly detector.
This is a convenience method that creates an instance of theMetricMathAnomalyDetector.Builder
avoiding the need to create one manually via MetricMathAnomalyDetector.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to metricMathAnomalyDetector(MetricMathAnomalyDetector)
.
metricMathAnomalyDetector
- a consumer that will call methods on MetricMathAnomalyDetector.Builder
metricMathAnomalyDetector(MetricMathAnomalyDetector)
Copyright © 2022. All rights reserved.