@Stability(value=Stable) public static final class CfnAnomalyDetector.CloudwatchConfigProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnAnomalyDetector.CloudwatchConfigProperty>
CfnAnomalyDetector.CloudwatchConfigProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnAnomalyDetector.CloudwatchConfigProperty |
build()
Builds the configured instance.
|
CfnAnomalyDetector.CloudwatchConfigProperty.Builder |
roleArn(String roleArn)
Sets the value of
CfnAnomalyDetector.CloudwatchConfigProperty.getRoleArn() |
@Stability(value=Stable) public CfnAnomalyDetector.CloudwatchConfigProperty.Builder roleArn(String roleArn)
CfnAnomalyDetector.CloudwatchConfigProperty.getRoleArn()roleArn - An IAM role that gives Amazon Lookout for Metrics permission to access data in Amazon CloudWatch. This parameter is required.this@Stability(value=Stable) public CfnAnomalyDetector.CloudwatchConfigProperty build()
build in interface software.amazon.jsii.Builder<CfnAnomalyDetector.CloudwatchConfigProperty>CfnAnomalyDetector.CloudwatchConfigPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.