Class CfnAnomalyDetector.Builder
java.lang.Object
software.amazon.awscdk.services.lookoutmetrics.CfnAnomalyDetector.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnomalyDetector>
- Enclosing class:
CfnAnomalyDetector
@Stability(Stable)
public static final class CfnAnomalyDetector.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnomalyDetector>
A fluent builder for
CfnAnomalyDetector
.-
Method Summary
Modifier and TypeMethodDescriptionanomalyDetectorConfig
(IResolvable anomalyDetectorConfig) Contains information about the configuration of the anomaly detector.anomalyDetectorConfig
(CfnAnomalyDetector.AnomalyDetectorConfigProperty anomalyDetectorConfig) Contains information about the configuration of the anomaly detector.anomalyDetectorDescription
(String anomalyDetectorDescription) A description of the detector.anomalyDetectorName
(String anomalyDetectorName) The name of the detector.build()
static CfnAnomalyDetector.Builder
The ARN of the KMS key to use to encrypt your data.metricSetList
(List<? extends Object> metricSetList) The detector's dataset.metricSetList
(IResolvable metricSetList) The detector's dataset.
-
Method Details
-
create
@Stability(Stable) public static CfnAnomalyDetector.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnAnomalyDetector.Builder
.
-
anomalyDetectorConfig
@Stability(Stable) public CfnAnomalyDetector.Builder anomalyDetectorConfig(IResolvable anomalyDetectorConfig) Contains information about the configuration of the anomaly detector.- Parameters:
anomalyDetectorConfig
- Contains information about the configuration of the anomaly detector. This parameter is required.- Returns:
this
- See Also:
-
anomalyDetectorConfig
@Stability(Stable) public CfnAnomalyDetector.Builder anomalyDetectorConfig(CfnAnomalyDetector.AnomalyDetectorConfigProperty anomalyDetectorConfig) Contains information about the configuration of the anomaly detector.- Parameters:
anomalyDetectorConfig
- Contains information about the configuration of the anomaly detector. This parameter is required.- Returns:
this
- See Also:
-
metricSetList
The detector's dataset.- Parameters:
metricSetList
- The detector's dataset. This parameter is required.- Returns:
this
- See Also:
-
metricSetList
@Stability(Stable) public CfnAnomalyDetector.Builder metricSetList(List<? extends Object> metricSetList) The detector's dataset.- Parameters:
metricSetList
- The detector's dataset. This parameter is required.- Returns:
this
- See Also:
-
anomalyDetectorDescription
@Stability(Stable) public CfnAnomalyDetector.Builder anomalyDetectorDescription(String anomalyDetectorDescription) A description of the detector.- Parameters:
anomalyDetectorDescription
- A description of the detector. This parameter is required.- Returns:
this
- See Also:
-
anomalyDetectorName
@Stability(Stable) public CfnAnomalyDetector.Builder anomalyDetectorName(String anomalyDetectorName) The name of the detector.- Parameters:
anomalyDetectorName
- The name of the detector. This parameter is required.- Returns:
this
- See Also:
-
kmsKeyArn
The ARN of the KMS key to use to encrypt your data.- Parameters:
kmsKeyArn
- The ARN of the KMS key to use to encrypt your data. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAnomalyDetector>
- Returns:
- a newly built instance of
CfnAnomalyDetector
.
-