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, getValueequals, getSourceLocation, hashCode, setNodeCache, toNode, toShapeId, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitflatMapStream, getIdiomaticTraitName, getIdiomaticTraitName, isSynthetic, makeAbsoluteName, makeAbsoluteNamepublic static final ShapeId ID
public PublishTrait(java.lang.String topic,
SourceLocation sourceLocation)
public PublishTrait(java.lang.String topic)
public Topic getTopic()