public static final class CfnAnomalyDetectorProps.Builder
extends java.lang.Object
CfnAnomalyDetectorProps
Constructor and Description |
---|
Builder() |
public CfnAnomalyDetectorProps.Builder anomalyDetectorConfig(IResolvable anomalyDetectorConfig)
CfnAnomalyDetectorProps.getAnomalyDetectorConfig()
anomalyDetectorConfig
- Contains information about the configuration of the anomaly detector. This parameter is required.this
public CfnAnomalyDetectorProps.Builder anomalyDetectorConfig(CfnAnomalyDetector.AnomalyDetectorConfigProperty anomalyDetectorConfig)
CfnAnomalyDetectorProps.getAnomalyDetectorConfig()
anomalyDetectorConfig
- Contains information about the configuration of the anomaly detector. This parameter is required.this
public CfnAnomalyDetectorProps.Builder metricSetList(IResolvable metricSetList)
CfnAnomalyDetectorProps.getMetricSetList()
metricSetList
- The detector's dataset. This parameter is required.this
public CfnAnomalyDetectorProps.Builder metricSetList(java.util.List<? extends java.lang.Object> metricSetList)
CfnAnomalyDetectorProps.getMetricSetList()
metricSetList
- The detector's dataset. This parameter is required.this
public CfnAnomalyDetectorProps.Builder anomalyDetectorDescription(java.lang.String anomalyDetectorDescription)
CfnAnomalyDetectorProps.getAnomalyDetectorDescription()
anomalyDetectorDescription
- A description of the detector.this
public CfnAnomalyDetectorProps.Builder anomalyDetectorName(java.lang.String anomalyDetectorName)
CfnAnomalyDetectorProps.getAnomalyDetectorName()
anomalyDetectorName
- The name of the detector.this
public CfnAnomalyDetectorProps.Builder kmsKeyArn(java.lang.String kmsKeyArn)
CfnAnomalyDetectorProps.getKmsKeyArn()
kmsKeyArn
- The ARN of the KMS key to use to encrypt your data.this
public CfnAnomalyDetectorProps build()
CfnAnomalyDetectorProps
java.lang.NullPointerException
- if any required attribute was not provided