public static final class CfnAlarmModel.LambdaProperty.Builder
extends java.lang.Object
CfnAlarmModel.LambdaProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnAlarmModel.LambdaProperty |
build()
Builds the configured instance.
|
CfnAlarmModel.LambdaProperty.Builder |
functionArn(java.lang.String functionArn)
Sets the value of
CfnAlarmModel.LambdaProperty.getFunctionArn() |
CfnAlarmModel.LambdaProperty.Builder |
payload(CfnAlarmModel.PayloadProperty payload)
Sets the value of
CfnAlarmModel.LambdaProperty.getPayload() |
CfnAlarmModel.LambdaProperty.Builder |
payload(IResolvable payload)
Sets the value of
CfnAlarmModel.LambdaProperty.getPayload() |
public CfnAlarmModel.LambdaProperty.Builder functionArn(java.lang.String functionArn)
CfnAlarmModel.LambdaProperty.getFunctionArn()
functionArn
- The ARN of the Lambda function that is executed. This parameter is required.this
public CfnAlarmModel.LambdaProperty.Builder payload(IResolvable payload)
CfnAlarmModel.LambdaProperty.getPayload()
payload
- You can configure the action payload when you send a message to a Lambda function.this
public CfnAlarmModel.LambdaProperty.Builder payload(CfnAlarmModel.PayloadProperty payload)
CfnAlarmModel.LambdaProperty.getPayload()
payload
- You can configure the action payload when you send a message to a Lambda function.this
public CfnAlarmModel.LambdaProperty build()
CfnAlarmModel.LambdaProperty
java.lang.NullPointerException
- if any required attribute was not provided