Class CfnAlert.LambdaConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.lookoutmetrics.CfnAlert.LambdaConfigurationProperty.Builder
- All Implemented Interfaces:
- software.amazon.jsii.Builder<CfnAlert.LambdaConfigurationProperty>
- Enclosing interface:
- CfnAlert.LambdaConfigurationProperty
@Stability(Stable)
public static final class CfnAlert.LambdaConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAlert.LambdaConfigurationProperty>
A builder for 
CfnAlert.LambdaConfigurationProperty- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnAlert.LambdaConfigurationProperty.getLambdaArn()Sets the value ofCfnAlert.LambdaConfigurationProperty.getRoleArn()
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
lambdaArnSets the value ofCfnAlert.LambdaConfigurationProperty.getLambdaArn()- Parameters:
- lambdaArn- The ARN of the Lambda function. This parameter is required.
- Returns:
- this
 
- 
roleArnSets the value ofCfnAlert.LambdaConfigurationProperty.getRoleArn()- Parameters:
- roleArn- The ARN of an IAM role that has permission to invoke the Lambda function. This parameter is required.
- Returns:
- this
 
- 
buildBuilds the configured instance.- Specified by:
- buildin interface- software.amazon.jsii.Builder<CfnAlert.LambdaConfigurationProperty>
- Returns:
- a new instance of CfnAlert.LambdaConfigurationProperty
- Throws:
- NullPointerException- if any required attribute was not provided
 
 
-