Class CfnDetectorModel.IotEventsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iotevents.CfnDetectorModel.IotEventsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDetectorModel.IotEventsProperty>
- Enclosing interface:
CfnDetectorModel.IotEventsProperty
@Stability(Stable)
public static final class CfnDetectorModel.IotEventsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDetectorModel.IotEventsProperty>
A builder for
CfnDetectorModel.IotEventsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnDetectorModel.IotEventsProperty.getInputName()payload(IResolvable payload) Sets the value ofCfnDetectorModel.IotEventsProperty.getPayload()payload(CfnDetectorModel.PayloadProperty payload) Sets the value ofCfnDetectorModel.IotEventsProperty.getPayload()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
inputName
Sets the value ofCfnDetectorModel.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 ofCfnDetectorModel.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 CfnDetectorModel.IotEventsProperty.Builder payload(CfnDetectorModel.PayloadProperty payload) Sets the value ofCfnDetectorModel.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:
buildin interfacesoftware.amazon.jsii.Builder<CfnDetectorModel.IotEventsProperty>- Returns:
- a new instance of
CfnDetectorModel.IotEventsProperty - Throws:
NullPointerException- if any required attribute was not provided
-