@Stability(value=Stable) public static final class CfnAnomalyDetector.Builder extends Object implements software.amazon.jsii.Builder<CfnAnomalyDetector>
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(software.constructs.Construct scope,
String id) |
CfnAnomalyDetector.Builder |
dimensions(IResolvable dimensions)
The dimensions of the metric associated with the anomaly detection band.
|
CfnAnomalyDetector.Builder |
dimensions(List<? extends 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(String metricName)
The name of the metric associated with the anomaly detection band.
|
CfnAnomalyDetector.Builder |
namespace(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(String stat)
The statistic of the metric associated with the anomaly detection band.
|
@Stability(value=Stable) public static CfnAnomalyDetector.Builder create(software.constructs.Construct scope, 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.@Stability(value=Stable) 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@Stability(value=Stable) 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@Stability(value=Stable) public CfnAnomalyDetector.Builder dimensions(IResolvable dimensions)
dimensions - The dimensions of the metric associated with the anomaly detection band. This parameter is required.this@Stability(value=Stable) public CfnAnomalyDetector.Builder dimensions(List<? extends Object> dimensions)
dimensions - The dimensions of the metric associated with the anomaly detection band. This parameter is required.this@Stability(value=Stable) public CfnAnomalyDetector.Builder metricMathAnomalyDetector(CfnAnomalyDetector.MetricMathAnomalyDetectorProperty metricMathAnomalyDetector)
metricMathAnomalyDetector - The CloudWatch metric math expression for this anomaly detector. This parameter is required.this@Stability(value=Stable) public CfnAnomalyDetector.Builder metricMathAnomalyDetector(IResolvable metricMathAnomalyDetector)
metricMathAnomalyDetector - The CloudWatch metric math expression for this anomaly detector. This parameter is required.this@Stability(value=Stable) public CfnAnomalyDetector.Builder metricName(String metricName)
metricName - The name of the metric associated with the anomaly detection band. This parameter is required.this@Stability(value=Stable) public CfnAnomalyDetector.Builder namespace(String namespace)
namespace - The namespace of the metric associated with the anomaly detection band. This parameter is required.this@Stability(value=Stable) public CfnAnomalyDetector.Builder singleMetricAnomalyDetector(CfnAnomalyDetector.SingleMetricAnomalyDetectorProperty singleMetricAnomalyDetector)
singleMetricAnomalyDetector - The CloudWatch metric and statistic for this anomaly detector. This parameter is required.this@Stability(value=Stable) public CfnAnomalyDetector.Builder singleMetricAnomalyDetector(IResolvable singleMetricAnomalyDetector)
singleMetricAnomalyDetector - The CloudWatch metric and statistic for this anomaly detector. This parameter is required.this@Stability(value=Stable) public CfnAnomalyDetector.Builder stat(String stat)
stat - The statistic of the metric associated with the anomaly detection band. This parameter is required.this@Stability(value=Stable) public CfnAnomalyDetector build()
build in interface software.amazon.jsii.Builder<CfnAnomalyDetector>Copyright © 2022. All rights reserved.