public final class PublishTrait extends StringTrait
smithy.mqtt#publish
trait.Modifier and Type | Class and Description |
---|---|
static class |
PublishTrait.Provider |
Constructor and Description |
---|
PublishTrait(java.lang.String topic) |
PublishTrait(java.lang.String topic,
SourceLocation sourceLocation) |
Modifier and Type | Method and Description |
---|---|
Topic |
getTopic()
Gets the parsed topic of the trait.
|
createNode, getValue
equals, getSourceLocation, hashCode, setNodeCache, toNode, toShapeId, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
flatMapStream, getIdiomaticTraitName, getIdiomaticTraitName, isSynthetic, makeAbsoluteName, makeAbsoluteName
public static final ShapeId ID
public PublishTrait(java.lang.String topic, SourceLocation sourceLocation)
public PublishTrait(java.lang.String topic)
public Topic getTopic()