Class CfnAnomalyDetector.AnomalyDetectorConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.lookoutmetrics.CfnAnomalyDetector.AnomalyDetectorConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnomalyDetector.AnomalyDetectorConfigProperty>
- Enclosing interface:
CfnAnomalyDetector.AnomalyDetectorConfigProperty
@Stability(Stable)
public static final class CfnAnomalyDetector.AnomalyDetectorConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnomalyDetector.AnomalyDetectorConfigProperty>
A builder for
CfnAnomalyDetector.AnomalyDetectorConfigProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionanomalyDetectorFrequency
(String anomalyDetectorFrequency) build()
Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
anomalyDetectorFrequency
@Stability(Stable) public CfnAnomalyDetector.AnomalyDetectorConfigProperty.Builder anomalyDetectorFrequency(String anomalyDetectorFrequency) - Parameters:
anomalyDetectorFrequency
- The frequency at which the detector analyzes its source data. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAnomalyDetector.AnomalyDetectorConfigProperty>
- Returns:
- a new instance of
CfnAnomalyDetector.AnomalyDetectorConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-