@Stability(value=Stable) public static final class CfnAnomalyDetectorProps.Builder extends Object implements software.amazon.jsii.Builder<CfnAnomalyDetectorProps>
CfnAnomalyDetectorProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnAnomalyDetectorProps.Builder configuration(CfnAnomalyDetector.ConfigurationProperty configuration)
CfnAnomalyDetectorProps.getConfiguration()configuration - Specifies details about how the anomaly detection model is to be trained, including time ranges to exclude when training and updating the model.
The configuration can also include the time zone to use for the metric.this@Stability(value=Stable) public CfnAnomalyDetectorProps.Builder configuration(IResolvable configuration)
CfnAnomalyDetectorProps.getConfiguration()configuration - Specifies details about how the anomaly detection model is to be trained, including time ranges to exclude when training and updating the model.
The configuration can also include the time zone to use for the metric.this@Stability(value=Stable) public CfnAnomalyDetectorProps.Builder dimensions(IResolvable dimensions)
CfnAnomalyDetectorProps.getDimensions()dimensions - The dimensions of the metric associated with the anomaly detection band.this@Stability(value=Stable) public CfnAnomalyDetectorProps.Builder dimensions(List<? extends Object> dimensions)
CfnAnomalyDetectorProps.getDimensions()dimensions - The dimensions of the metric associated with the anomaly detection band.this@Stability(value=Stable) public CfnAnomalyDetectorProps.Builder metricMathAnomalyDetector(CfnAnomalyDetector.MetricMathAnomalyDetectorProperty metricMathAnomalyDetector)
CfnAnomalyDetectorProps.getMetricMathAnomalyDetector()metricMathAnomalyDetector - The CloudWatch metric math expression for this anomaly detector.this@Stability(value=Stable) public CfnAnomalyDetectorProps.Builder metricMathAnomalyDetector(IResolvable metricMathAnomalyDetector)
CfnAnomalyDetectorProps.getMetricMathAnomalyDetector()metricMathAnomalyDetector - The CloudWatch metric math expression for this anomaly detector.this@Stability(value=Stable) public CfnAnomalyDetectorProps.Builder metricName(String metricName)
CfnAnomalyDetectorProps.getMetricName()metricName - The name of the metric associated with the anomaly detection band.this@Stability(value=Stable) public CfnAnomalyDetectorProps.Builder namespace(String namespace)
CfnAnomalyDetectorProps.getNamespace()namespace - The namespace of the metric associated with the anomaly detection band.this@Stability(value=Stable) public CfnAnomalyDetectorProps.Builder singleMetricAnomalyDetector(CfnAnomalyDetector.SingleMetricAnomalyDetectorProperty singleMetricAnomalyDetector)
CfnAnomalyDetectorProps.getSingleMetricAnomalyDetector()singleMetricAnomalyDetector - The CloudWatch metric and statistic for this anomaly detector.this@Stability(value=Stable) public CfnAnomalyDetectorProps.Builder singleMetricAnomalyDetector(IResolvable singleMetricAnomalyDetector)
CfnAnomalyDetectorProps.getSingleMetricAnomalyDetector()singleMetricAnomalyDetector - The CloudWatch metric and statistic for this anomaly detector.this@Stability(value=Stable) public CfnAnomalyDetectorProps.Builder stat(String stat)
CfnAnomalyDetectorProps.getStat()stat - The statistic of the metric associated with the anomaly detection band.this@Stability(value=Stable) public CfnAnomalyDetectorProps build()
build in interface software.amazon.jsii.Builder<CfnAnomalyDetectorProps>CfnAnomalyDetectorPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.