public static final class CfnAlert.LambdaConfigurationProperty.Builder
extends java.lang.Object
CfnAlert.LambdaConfigurationProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnAlert.LambdaConfigurationProperty |
build()
Builds the configured instance.
|
CfnAlert.LambdaConfigurationProperty.Builder |
lambdaArn(java.lang.String lambdaArn)
Sets the value of
CfnAlert.LambdaConfigurationProperty.getLambdaArn() |
CfnAlert.LambdaConfigurationProperty.Builder |
roleArn(java.lang.String roleArn)
Sets the value of
CfnAlert.LambdaConfigurationProperty.getRoleArn() |
public CfnAlert.LambdaConfigurationProperty.Builder lambdaArn(java.lang.String lambdaArn)
CfnAlert.LambdaConfigurationProperty.getLambdaArn()
lambdaArn
- The ARN of the Lambda function. This parameter is required.this
public CfnAlert.LambdaConfigurationProperty.Builder roleArn(java.lang.String roleArn)
CfnAlert.LambdaConfigurationProperty.getRoleArn()
roleArn
- The ARN of an IAM role that has permission to invoke the Lambda function. This parameter is required.this
public CfnAlert.LambdaConfigurationProperty build()
CfnAlert.LambdaConfigurationProperty
java.lang.NullPointerException
- if any required attribute was not provided