Class CfnAlarmModelPropsMixin.LambdaProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iotevents.CfnAlarmModelPropsMixin.LambdaProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAlarmModelPropsMixin.LambdaProperty>
- Enclosing interface:
CfnAlarmModelPropsMixin.LambdaProperty
@Stability(Stable)
public static final class CfnAlarmModelPropsMixin.LambdaProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAlarmModelPropsMixin.LambdaProperty>
A builder for
CfnAlarmModelPropsMixin.LambdaProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.functionArn(String functionArn) Sets the value ofCfnAlarmModelPropsMixin.LambdaProperty.getFunctionArn()Sets the value ofCfnAlarmModelPropsMixin.LambdaProperty.getPayload()payload(IResolvable payload) Sets the value ofCfnAlarmModelPropsMixin.LambdaProperty.getPayload()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
functionArn
@Stability(Stable) public CfnAlarmModelPropsMixin.LambdaProperty.Builder functionArn(String functionArn) Sets the value ofCfnAlarmModelPropsMixin.LambdaProperty.getFunctionArn()- Parameters:
functionArn- The ARN of the Lambda function that is executed.- Returns:
this
-
payload
@Stability(Stable) public CfnAlarmModelPropsMixin.LambdaProperty.Builder payload(IResolvable payload) Sets the value ofCfnAlarmModelPropsMixin.LambdaProperty.getPayload()- Parameters:
payload- You can configure the action payload when you send a message to a Lambda function.- Returns:
this
-
payload
@Stability(Stable) public CfnAlarmModelPropsMixin.LambdaProperty.Builder payload(CfnAlarmModelPropsMixin.PayloadProperty payload) Sets the value ofCfnAlarmModelPropsMixin.LambdaProperty.getPayload()- Parameters:
payload- You can configure the action payload when you send a message to a Lambda function.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAlarmModelPropsMixin.LambdaProperty>- Returns:
- a new instance of
CfnAlarmModelPropsMixin.LambdaProperty - Throws:
NullPointerException- if any required attribute was not provided
-