public static final class CfnDetectorModel.IotEventsProperty.Builder
extends java.lang.Object
CfnDetectorModel.IotEventsProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnDetectorModel.IotEventsProperty |
build()
Builds the configured instance.
|
CfnDetectorModel.IotEventsProperty.Builder |
inputName(java.lang.String inputName)
Sets the value of
CfnDetectorModel.IotEventsProperty.getInputName() |
CfnDetectorModel.IotEventsProperty.Builder |
payload(CfnDetectorModel.PayloadProperty payload)
Sets the value of
CfnDetectorModel.IotEventsProperty.getPayload() |
CfnDetectorModel.IotEventsProperty.Builder |
payload(IResolvable payload)
Sets the value of
CfnDetectorModel.IotEventsProperty.getPayload() |
public CfnDetectorModel.IotEventsProperty.Builder inputName(java.lang.String inputName)
CfnDetectorModel.IotEventsProperty.getInputName()
inputName
- The name of the AWS IoT Events input where the data is sent. This parameter is required.this
public CfnDetectorModel.IotEventsProperty.Builder payload(IResolvable payload)
CfnDetectorModel.IotEventsProperty.getPayload()
payload
- You can configure the action payload when you send a message to an AWS IoT Events input.this
public CfnDetectorModel.IotEventsProperty.Builder payload(CfnDetectorModel.PayloadProperty payload)
CfnDetectorModel.IotEventsProperty.getPayload()
payload
- You can configure the action payload when you send a message to an AWS IoT Events input.this
public CfnDetectorModel.IotEventsProperty build()
CfnDetectorModel.IotEventsProperty
java.lang.NullPointerException
- if any required attribute was not provided