Class CfnAlarmModel.IotEventsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iotevents.CfnAlarmModel.IotEventsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAlarmModel.IotEventsProperty>
- Enclosing interface:
CfnAlarmModel.IotEventsProperty
@Stability(Stable)
public static final class CfnAlarmModel.IotEventsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAlarmModel.IotEventsProperty>
A builder for
CfnAlarmModel.IotEventsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnAlarmModel.IotEventsProperty.getInputName()
payload
(IResolvable payload) Sets the value ofCfnAlarmModel.IotEventsProperty.getPayload()
payload
(CfnAlarmModel.PayloadProperty payload) Sets the value ofCfnAlarmModel.IotEventsProperty.getPayload()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
inputName
Sets the value ofCfnAlarmModel.IotEventsProperty.getInputName()
- Parameters:
inputName
- The name of the AWS IoT Events input where the data is sent. This parameter is required.- Returns:
this
-
payload
Sets the value ofCfnAlarmModel.IotEventsProperty.getPayload()
- Parameters:
payload
- You can configure the action payload when you send a message to an AWS IoT Events input.- Returns:
this
-
payload
@Stability(Stable) public CfnAlarmModel.IotEventsProperty.Builder payload(CfnAlarmModel.PayloadProperty payload) Sets the value ofCfnAlarmModel.IotEventsProperty.getPayload()
- Parameters:
payload
- You can configure the action payload when you send a message to an AWS IoT Events input.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAlarmModel.IotEventsProperty>
- Returns:
- a new instance of
CfnAlarmModel.IotEventsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-