Class CfnAnomalyDetectorMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.lookoutmetrics.CfnAnomalyDetectorMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnomalyDetectorMixinProps>
- Enclosing interface:
CfnAnomalyDetectorMixinProps
@Stability(Stable)
public static final class CfnAnomalyDetectorMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnomalyDetectorMixinProps>
A builder for
CfnAnomalyDetectorMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionanomalyDetectorConfig(CfnAnomalyDetectorPropsMixin.AnomalyDetectorConfigProperty anomalyDetectorConfig) Sets the value ofCfnAnomalyDetectorMixinProps.getAnomalyDetectorConfig()anomalyDetectorConfig(IResolvable anomalyDetectorConfig) Sets the value ofCfnAnomalyDetectorMixinProps.getAnomalyDetectorConfig()anomalyDetectorDescription(String anomalyDetectorDescription) Sets the value ofCfnAnomalyDetectorMixinProps.getAnomalyDetectorDescription()anomalyDetectorName(String anomalyDetectorName) Sets the value ofCfnAnomalyDetectorMixinProps.getAnomalyDetectorName()build()Builds the configured instance.Sets the value ofCfnAnomalyDetectorMixinProps.getKmsKeyArn()Sets the value ofCfnAnomalyDetectorMixinProps.getKmsKeyArn()metricSetList(List<? extends Object> metricSetList) Sets the value ofCfnAnomalyDetectorMixinProps.getMetricSetList()metricSetList(IResolvable metricSetList) Sets the value ofCfnAnomalyDetectorMixinProps.getMetricSetList()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
anomalyDetectorConfig
@Stability(Stable) public CfnAnomalyDetectorMixinProps.Builder anomalyDetectorConfig(IResolvable anomalyDetectorConfig) Sets the value ofCfnAnomalyDetectorMixinProps.getAnomalyDetectorConfig()- Parameters:
anomalyDetectorConfig- Contains information about the configuration of the anomaly detector.- Returns:
this
-
anomalyDetectorConfig
@Stability(Stable) public CfnAnomalyDetectorMixinProps.Builder anomalyDetectorConfig(CfnAnomalyDetectorPropsMixin.AnomalyDetectorConfigProperty anomalyDetectorConfig) Sets the value ofCfnAnomalyDetectorMixinProps.getAnomalyDetectorConfig()- Parameters:
anomalyDetectorConfig- Contains information about the configuration of the anomaly detector.- Returns:
this
-
anomalyDetectorDescription
@Stability(Stable) public CfnAnomalyDetectorMixinProps.Builder anomalyDetectorDescription(String anomalyDetectorDescription) Sets the value ofCfnAnomalyDetectorMixinProps.getAnomalyDetectorDescription()- Parameters:
anomalyDetectorDescription- A description of the detector.- Returns:
this
-
anomalyDetectorName
@Stability(Stable) public CfnAnomalyDetectorMixinProps.Builder anomalyDetectorName(String anomalyDetectorName) Sets the value ofCfnAnomalyDetectorMixinProps.getAnomalyDetectorName()- Parameters:
anomalyDetectorName- The name of the detector.- Returns:
this
-
kmsKeyArn
Sets the value ofCfnAnomalyDetectorMixinProps.getKmsKeyArn()- Parameters:
kmsKeyArn- The ARN of the KMS key to use to encrypt your data.- Returns:
this
-
kmsKeyArn
Sets the value ofCfnAnomalyDetectorMixinProps.getKmsKeyArn()- Parameters:
kmsKeyArn- The ARN of the KMS key to use to encrypt your data.- Returns:
this
-
metricSetList
@Stability(Stable) public CfnAnomalyDetectorMixinProps.Builder metricSetList(IResolvable metricSetList) Sets the value ofCfnAnomalyDetectorMixinProps.getMetricSetList()- Parameters:
metricSetList- The detector's dataset.- Returns:
this
-
metricSetList
@Stability(Stable) public CfnAnomalyDetectorMixinProps.Builder metricSetList(List<? extends Object> metricSetList) Sets the value ofCfnAnomalyDetectorMixinProps.getMetricSetList()- Parameters:
metricSetList- The detector's dataset.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAnomalyDetectorMixinProps>- Returns:
- a new instance of
CfnAnomalyDetectorMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-