Class CfnAnomalyDetectorPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.cloudwatch.CfnAnomalyDetectorPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnomalyDetectorPropsMixin>
- Enclosing class:
CfnAnomalyDetectorPropsMixin
@Stability(Stable)
public static final class CfnAnomalyDetectorPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnomalyDetectorPropsMixin>
A fluent builder for
CfnAnomalyDetectorPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()configuration(CfnAnomalyDetectorPropsMixin.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.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.create()create(CfnPropertyMixinOptions options) dimensions(List<? extends Object> dimensions) The dimensions of the metric associated with the anomaly detection band.dimensions(IResolvable dimensions) The dimensions of the metric associated with the anomaly detection band.metricCharacteristics(CfnAnomalyDetectorPropsMixin.MetricCharacteristicsProperty metricCharacteristics) Use this object to include parameters to provide information about your metric to CloudWatch to help it build more accurate anomaly detection models.metricCharacteristics(IResolvable metricCharacteristics) Use this object to include parameters to provide information about your metric to CloudWatch to help it build more accurate anomaly detection models.metricMathAnomalyDetector(CfnAnomalyDetectorPropsMixin.MetricMathAnomalyDetectorProperty metricMathAnomalyDetector) The CloudWatch metric math expression for this anomaly detector.metricMathAnomalyDetector(IResolvable metricMathAnomalyDetector) The CloudWatch metric math expression for this anomaly detector.metricName(String metricName) The name of the metric associated with the anomaly detection band.The namespace of the metric associated with the anomaly detection band.singleMetricAnomalyDetector(CfnAnomalyDetectorPropsMixin.SingleMetricAnomalyDetectorProperty singleMetricAnomalyDetector) The CloudWatch metric and statistic for this anomaly detector.singleMetricAnomalyDetector(IResolvable singleMetricAnomalyDetector) The CloudWatch metric and statistic for this anomaly detector.The statistic of the metric associated with the anomaly detection band.
-
Method Details
-
create
@Stability(Stable) public static CfnAnomalyDetectorPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnAnomalyDetectorPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnAnomalyDetectorPropsMixin.Builder.
-
configuration
@Stability(Stable) public CfnAnomalyDetectorPropsMixin.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.The configuration can also include the time zone to use for the metric.
- Parameters:
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.- Returns:
this- See Also:
-
configuration
@Stability(Stable) public CfnAnomalyDetectorPropsMixin.Builder configuration(CfnAnomalyDetectorPropsMixin.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.The configuration can also include the time zone to use for the metric.
- Parameters:
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.- Returns:
this- See Also:
-
dimensions
The dimensions of the metric associated with the anomaly detection band.- Parameters:
dimensions- The dimensions of the metric associated with the anomaly detection band. This parameter is required.- Returns:
this- See Also:
-
dimensions
@Stability(Stable) public CfnAnomalyDetectorPropsMixin.Builder dimensions(List<? extends Object> dimensions) The dimensions of the metric associated with the anomaly detection band.- Parameters:
dimensions- The dimensions of the metric associated with the anomaly detection band. This parameter is required.- Returns:
this- See Also:
-
metricCharacteristics
@Stability(Stable) public CfnAnomalyDetectorPropsMixin.Builder metricCharacteristics(IResolvable metricCharacteristics) Use this object to include parameters to provide information about your metric to CloudWatch to help it build more accurate anomaly detection models.Currently, it includes the
PeriodicSpikesparameter.- Parameters:
metricCharacteristics- Use this object to include parameters to provide information about your metric to CloudWatch to help it build more accurate anomaly detection models. This parameter is required.- Returns:
this- See Also:
-
metricCharacteristics
@Stability(Stable) public CfnAnomalyDetectorPropsMixin.Builder metricCharacteristics(CfnAnomalyDetectorPropsMixin.MetricCharacteristicsProperty metricCharacteristics) Use this object to include parameters to provide information about your metric to CloudWatch to help it build more accurate anomaly detection models.Currently, it includes the
PeriodicSpikesparameter.- Parameters:
metricCharacteristics- Use this object to include parameters to provide information about your metric to CloudWatch to help it build more accurate anomaly detection models. This parameter is required.- Returns:
this- See Also:
-
metricMathAnomalyDetector
@Stability(Stable) public CfnAnomalyDetectorPropsMixin.Builder metricMathAnomalyDetector(IResolvable metricMathAnomalyDetector) The CloudWatch metric math expression for this anomaly detector.- Parameters:
metricMathAnomalyDetector- The CloudWatch metric math expression for this anomaly detector. This parameter is required.- Returns:
this- See Also:
-
metricMathAnomalyDetector
@Stability(Stable) public CfnAnomalyDetectorPropsMixin.Builder metricMathAnomalyDetector(CfnAnomalyDetectorPropsMixin.MetricMathAnomalyDetectorProperty metricMathAnomalyDetector) The CloudWatch metric math expression for this anomaly detector.- Parameters:
metricMathAnomalyDetector- The CloudWatch metric math expression for this anomaly detector. This parameter is required.- Returns:
this- See Also:
-
metricName
The name of the metric associated with the anomaly detection band.- Parameters:
metricName- The name of the metric associated with the anomaly detection band. This parameter is required.- Returns:
this- See Also:
-
namespace
The namespace of the metric associated with the anomaly detection band.- Parameters:
namespace- The namespace of the metric associated with the anomaly detection band. This parameter is required.- Returns:
this- See Also:
-
singleMetricAnomalyDetector
@Stability(Stable) public CfnAnomalyDetectorPropsMixin.Builder singleMetricAnomalyDetector(IResolvable singleMetricAnomalyDetector) The CloudWatch metric and statistic for this anomaly detector.- Parameters:
singleMetricAnomalyDetector- The CloudWatch metric and statistic for this anomaly detector. This parameter is required.- Returns:
this- See Also:
-
singleMetricAnomalyDetector
@Stability(Stable) public CfnAnomalyDetectorPropsMixin.Builder singleMetricAnomalyDetector(CfnAnomalyDetectorPropsMixin.SingleMetricAnomalyDetectorProperty singleMetricAnomalyDetector) The CloudWatch metric and statistic for this anomaly detector.- Parameters:
singleMetricAnomalyDetector- The CloudWatch metric and statistic for this anomaly detector. This parameter is required.- Returns:
this- See Also:
-
stat
The statistic of the metric associated with the anomaly detection band.- Parameters:
stat- The statistic of the metric associated with the anomaly detection band. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAnomalyDetectorPropsMixin>- Returns:
- a newly built instance of
CfnAnomalyDetectorPropsMixin.
-