Class PublishTrait
java.lang.Object
software.amazon.smithy.model.traits.AbstractTrait
software.amazon.smithy.model.traits.StringTrait
software.amazon.smithy.mqtt.traits.PublishTrait
- All Implemented Interfaces:
- FromSourceLocation,- ToNode,- ToShapeId,- Trait
smithy.mqtt#publish trait.- 
Nested Class SummaryNested Classes
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionPublishTrait(String topic) PublishTrait(String topic, SourceLocation sourceLocation) 
- 
Method SummaryMethods inherited from class software.amazon.smithy.model.traits.StringTraitcreateNode, getValueMethods inherited from class software.amazon.smithy.model.traits.AbstractTraitequals, getSourceLocation, hashCode, setNodeCache, toNode, toShapeId, toStringMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.smithy.model.traits.TraitisSynthetic
- 
Field Details- 
ID
 
- 
- 
Constructor Details- 
PublishTrait
- 
PublishTrait
 
- 
- 
Method Details- 
getTopicGets the parsed topic of the trait.- Returns:
- Returns the topic.
 
 
-