@Stability(value=Stable) public static final class CfnDetectorModel.IotTopicPublishProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnDetectorModel.IotTopicPublishProperty>
CfnDetectorModel.IotTopicPublishProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnDetectorModel.IotTopicPublishProperty |
build()
Builds the configured instance.
|
CfnDetectorModel.IotTopicPublishProperty.Builder |
mqttTopic(String mqttTopic)
Sets the value of
CfnDetectorModel.IotTopicPublishProperty.getMqttTopic() |
CfnDetectorModel.IotTopicPublishProperty.Builder |
payload(CfnDetectorModel.PayloadProperty payload)
Sets the value of
CfnDetectorModel.IotTopicPublishProperty.getPayload() |
CfnDetectorModel.IotTopicPublishProperty.Builder |
payload(IResolvable payload)
Sets the value of
CfnDetectorModel.IotTopicPublishProperty.getPayload() |
@Stability(value=Stable) public CfnDetectorModel.IotTopicPublishProperty.Builder mqttTopic(String mqttTopic)
CfnDetectorModel.IotTopicPublishProperty.getMqttTopic()mqttTopic - The MQTT topic of the message. This parameter is required.
You can use a string expression that includes variables ( $variable.<variable-name> ) and input values ( $input.<input-name>.<path-to-datum> ) as the topic string.this@Stability(value=Stable) public CfnDetectorModel.IotTopicPublishProperty.Builder payload(CfnDetectorModel.PayloadProperty payload)
CfnDetectorModel.IotTopicPublishProperty.getPayload()payload - You can configure the action payload when you publish a message to an AWS IoT Core topic.this@Stability(value=Stable) public CfnDetectorModel.IotTopicPublishProperty.Builder payload(IResolvable payload)
CfnDetectorModel.IotTopicPublishProperty.getPayload()payload - You can configure the action payload when you publish a message to an AWS IoT Core topic.this@Stability(value=Stable) public CfnDetectorModel.IotTopicPublishProperty build()
build in interface software.amazon.jsii.Builder<CfnDetectorModel.IotTopicPublishProperty>CfnDetectorModel.IotTopicPublishPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.