public static final class CfnAnomalyDetector.AppFlowConfigProperty.Builder
extends java.lang.Object
CfnAnomalyDetector.AppFlowConfigProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnAnomalyDetector.AppFlowConfigProperty |
build()
Builds the configured instance.
|
CfnAnomalyDetector.AppFlowConfigProperty.Builder |
flowName(java.lang.String flowName)
Sets the value of
CfnAnomalyDetector.AppFlowConfigProperty.getFlowName() |
CfnAnomalyDetector.AppFlowConfigProperty.Builder |
roleArn(java.lang.String roleArn)
Sets the value of
CfnAnomalyDetector.AppFlowConfigProperty.getRoleArn() |
public CfnAnomalyDetector.AppFlowConfigProperty.Builder flowName(java.lang.String flowName)
CfnAnomalyDetector.AppFlowConfigProperty.getFlowName()
flowName
- name of the flow. This parameter is required.this
public CfnAnomalyDetector.AppFlowConfigProperty.Builder roleArn(java.lang.String roleArn)
CfnAnomalyDetector.AppFlowConfigProperty.getRoleArn()
roleArn
- An IAM role that gives Amazon Lookout for Metrics permission to access the flow. This parameter is required.this
public CfnAnomalyDetector.AppFlowConfigProperty build()
CfnAnomalyDetector.AppFlowConfigProperty
java.lang.NullPointerException
- if any required attribute was not provided