public static final class CfnAnomalyDetector.Builder
extends java.lang.Object
CfnAnomalyDetector
.Modifier and Type | Method and Description |
---|---|
CfnAnomalyDetector |
build() |
CfnAnomalyDetector.Builder |
configuration(CfnAnomalyDetector.ConfigurationProperty configuration)
Specifies details about how the anomaly detection model is to be trained, including time ranges to exclude when training and updating the model.
|
CfnAnomalyDetector.Builder |
configuration(IResolvable configuration)
Specifies details about how the anomaly detection model is to be trained, including time ranges to exclude when training and updating the model.
|
static CfnAnomalyDetector.Builder |
create(Construct scope,
java.lang.String id) |
CfnAnomalyDetector.Builder |
dimensions(IResolvable dimensions)
The dimensions of the metric associated with the anomaly detection band.
|
CfnAnomalyDetector.Builder |
dimensions(java.util.List<? extends java.lang.Object> dimensions)
The dimensions of the metric associated with the anomaly detection band.
|
CfnAnomalyDetector.Builder |
metricMathAnomalyDetector(CfnAnomalyDetector.MetricMathAnomalyDetectorProperty metricMathAnomalyDetector)
The CloudWatch metric math expression for this anomaly detector.
|
CfnAnomalyDetector.Builder |
metricMathAnomalyDetector(IResolvable metricMathAnomalyDetector)
The CloudWatch metric math expression for this anomaly detector.
|
CfnAnomalyDetector.Builder |
metricName(java.lang.String metricName)
The name of the metric associated with the anomaly detection band.
|
CfnAnomalyDetector.Builder |
namespace(java.lang.String namespace)
The namespace of the metric associated with the anomaly detection band.
|
CfnAnomalyDetector.Builder |
singleMetricAnomalyDetector(CfnAnomalyDetector.SingleMetricAnomalyDetectorProperty singleMetricAnomalyDetector)
The CloudWatch metric and statistic for this anomaly detector.
|
CfnAnomalyDetector.Builder |
singleMetricAnomalyDetector(IResolvable singleMetricAnomalyDetector)
The CloudWatch metric and statistic for this anomaly detector.
|
CfnAnomalyDetector.Builder |
stat(java.lang.String stat)
The statistic of the metric associated with the anomaly detection band.
|
public static CfnAnomalyDetector.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnAnomalyDetector.ConfigurationProperty.Builder
.public CfnAnomalyDetector.Builder configuration(IResolvable configuration)
The configuration can also include the time zone to use for the metric.
configuration
- Specifies details about how the anomaly detection model is to be trained, including time ranges to exclude when training and updating the model. This parameter is required.this
public CfnAnomalyDetector.Builder configuration(CfnAnomalyDetector.ConfigurationProperty configuration)
The configuration can also include the time zone to use for the metric.
configuration
- Specifies details about how the anomaly detection model is to be trained, including time ranges to exclude when training and updating the model. This parameter is required.this
public CfnAnomalyDetector.Builder dimensions(IResolvable dimensions)
dimensions
- The dimensions of the metric associated with the anomaly detection band. This parameter is required.this
public CfnAnomalyDetector.Builder dimensions(java.util.List<? extends java.lang.Object> dimensions)
dimensions
- The dimensions of the metric associated with the anomaly detection band. This parameter is required.this
public CfnAnomalyDetector.Builder metricMathAnomalyDetector(IResolvable metricMathAnomalyDetector)
metricMathAnomalyDetector
- The CloudWatch metric math expression for this anomaly detector. This parameter is required.this
public CfnAnomalyDetector.Builder metricMathAnomalyDetector(CfnAnomalyDetector.MetricMathAnomalyDetectorProperty metricMathAnomalyDetector)
metricMathAnomalyDetector
- The CloudWatch metric math expression for this anomaly detector. This parameter is required.this
public CfnAnomalyDetector.Builder metricName(java.lang.String metricName)
metricName
- The name of the metric associated with the anomaly detection band. This parameter is required.this
public CfnAnomalyDetector.Builder namespace(java.lang.String namespace)
namespace
- The namespace of the metric associated with the anomaly detection band. This parameter is required.this
public CfnAnomalyDetector.Builder singleMetricAnomalyDetector(IResolvable singleMetricAnomalyDetector)
singleMetricAnomalyDetector
- The CloudWatch metric and statistic for this anomaly detector. This parameter is required.this
public CfnAnomalyDetector.Builder singleMetricAnomalyDetector(CfnAnomalyDetector.SingleMetricAnomalyDetectorProperty singleMetricAnomalyDetector)
singleMetricAnomalyDetector
- The CloudWatch metric and statistic for this anomaly detector. This parameter is required.this
public CfnAnomalyDetector.Builder stat(java.lang.String stat)
stat
- The statistic of the metric associated with the anomaly detection band. This parameter is required.this
public CfnAnomalyDetector build()