public static interface IotTopicPublishAction.Builder extends SdkPojo, CopyableBuilder<IotTopicPublishAction.Builder,IotTopicPublishAction>
| Modifier and Type | Method and Description |
|---|---|
IotTopicPublishAction.Builder |
mqttTopic(String mqttTopic)
The MQTT topic of the message.
|
default IotTopicPublishAction.Builder |
payload(Consumer<Payload.Builder> payload)
You can configure the action payload when you publish a message to an AWS IoT Core topic.
|
IotTopicPublishAction.Builder |
payload(Payload payload)
You can configure the action payload when you publish a message to an AWS IoT Core topic.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildIotTopicPublishAction.Builder mqttTopic(String mqttTopic)
The MQTT topic of the message. 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.
mqttTopic - The MQTT topic of the message. 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.IotTopicPublishAction.Builder payload(Payload payload)
You can configure the action payload when you publish a message to an AWS IoT Core topic.
payload - You can configure the action payload when you publish a message to an AWS IoT Core topic.default IotTopicPublishAction.Builder payload(Consumer<Payload.Builder> payload)
You can configure the action payload when you publish a message to an AWS IoT Core topic.
This is a convenience that creates an instance of thePayload.Builder avoiding the need to create one
manually via Payload.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to payload(Payload).payload - a consumer that will call methods on Payload.Builderpayload(Payload)Copyright © 2022. All rights reserved.