Class CfnDetectorModelPropsMixin.IotEventsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iotevents.CfnDetectorModelPropsMixin.IotEventsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDetectorModelPropsMixin.IotEventsProperty>
- Enclosing interface:
CfnDetectorModelPropsMixin.IotEventsProperty
@Stability(Stable)
public static final class CfnDetectorModelPropsMixin.IotEventsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDetectorModelPropsMixin.IotEventsProperty>
A builder for
CfnDetectorModelPropsMixin.IotEventsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnDetectorModelPropsMixin.IotEventsProperty.getInputName()Sets the value ofCfnDetectorModelPropsMixin.IotEventsProperty.getPayload()payload(IResolvable payload) Sets the value ofCfnDetectorModelPropsMixin.IotEventsProperty.getPayload()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
inputName
@Stability(Stable) public CfnDetectorModelPropsMixin.IotEventsProperty.Builder inputName(String inputName) Sets the value ofCfnDetectorModelPropsMixin.IotEventsProperty.getInputName()- Parameters:
inputName- The name of the AWS IoT Events input where the data is sent.- Returns:
this
-
payload
@Stability(Stable) public CfnDetectorModelPropsMixin.IotEventsProperty.Builder payload(IResolvable payload) Sets the value ofCfnDetectorModelPropsMixin.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 CfnDetectorModelPropsMixin.IotEventsProperty.Builder payload(CfnDetectorModelPropsMixin.PayloadProperty payload) Sets the value ofCfnDetectorModelPropsMixin.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<CfnDetectorModelPropsMixin.IotEventsProperty>- Returns:
- a new instance of
CfnDetectorModelPropsMixin.IotEventsProperty - Throws:
NullPointerException- if any required attribute was not provided
-