@Stability(value=Stable) public static final class CfnAlarmModel.IotTopicPublishProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnAlarmModel.IotTopicPublishProperty>
CfnAlarmModel.IotTopicPublishProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnAlarmModel.IotTopicPublishProperty |
build()
Builds the configured instance.
|
CfnAlarmModel.IotTopicPublishProperty.Builder |
mqttTopic(String mqttTopic)
Sets the value of
CfnAlarmModel.IotTopicPublishProperty.getMqttTopic() |
CfnAlarmModel.IotTopicPublishProperty.Builder |
payload(CfnAlarmModel.PayloadProperty payload)
Sets the value of
CfnAlarmModel.IotTopicPublishProperty.getPayload() |
CfnAlarmModel.IotTopicPublishProperty.Builder |
payload(IResolvable payload)
Sets the value of
CfnAlarmModel.IotTopicPublishProperty.getPayload() |
@Stability(value=Stable) public CfnAlarmModel.IotTopicPublishProperty.Builder mqttTopic(String mqttTopic)
CfnAlarmModel.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 CfnAlarmModel.IotTopicPublishProperty.Builder payload(CfnAlarmModel.PayloadProperty payload)
CfnAlarmModel.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 CfnAlarmModel.IotTopicPublishProperty.Builder payload(IResolvable payload)
CfnAlarmModel.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 CfnAlarmModel.IotTopicPublishProperty build()
build in interface software.amazon.jsii.Builder<CfnAlarmModel.IotTopicPublishProperty>CfnAlarmModel.IotTopicPublishPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.