Class IotTopicPublishAction
- java.lang.Object
-
- software.amazon.awssdk.services.iotevents.model.IotTopicPublishAction
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<IotTopicPublishAction.Builder,IotTopicPublishAction>
@Generated("software.amazon.awssdk:codegen") public final class IotTopicPublishAction extends Object implements SdkPojo, Serializable, ToCopyableBuilder<IotTopicPublishAction.Builder,IotTopicPublishAction>
Information required to publish the MQTT message through the AWS IoT message broker.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceIotTopicPublishAction.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IotTopicPublishAction.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringmqttTopic()The MQTT topic of the message.Payloadpayload()You can configure the action payload when you publish a message to an AWS IoT Core topic.List<SdkField<?>>sdkFields()static Class<? extends IotTopicPublishAction.Builder>serializableBuilderClass()IotTopicPublishAction.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
mqttTopic
public final 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.- Returns:
- 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.
-
payload
public final Payload payload()
You can configure the action payload when you publish a message to an AWS IoT Core topic.
- Returns:
- You can configure the action payload when you publish a message to an AWS IoT Core topic.
-
toBuilder
public IotTopicPublishAction.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<IotTopicPublishAction.Builder,IotTopicPublishAction>
-
builder
public static IotTopicPublishAction.Builder builder()
-
serializableBuilderClass
public static Class<? extends IotTopicPublishAction.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-