Class DocumentationTrait
- java.lang.Object
- 
- software.amazon.smithy.model.traits.AbstractTrait
- 
- software.amazon.smithy.model.traits.StringTrait
- 
- software.amazon.smithy.model.traits.DocumentationTrait
 
 
 
- 
- All Implemented Interfaces:
- FromSourceLocation,- ToNode,- ToShapeId,- Trait
 
 public final class DocumentationTrait extends StringTrait Adds documentation to a model.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classDocumentationTrait.Provider
 - 
Constructor SummaryConstructors Constructor Description DocumentationTrait(java.lang.String value)DocumentationTrait(java.lang.String value, SourceLocation sourceLocation)
 - 
Method Summary- 
Methods inherited from class software.amazon.smithy.model.traits.StringTraitcreateNode, getValue
 - 
Methods inherited from class software.amazon.smithy.model.traits.AbstractTraitequals, getSourceLocation, hashCode, setNodeCache, toNode, toShapeId, toString
 - 
Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface software.amazon.smithy.model.traits.TraitisSynthetic
 
- 
 
- 
- 
- 
Field Detail- 
IDpublic static final ShapeId ID 
 
- 
 - 
Constructor Detail- 
DocumentationTraitpublic DocumentationTrait(java.lang.String value, SourceLocation sourceLocation)
 - 
DocumentationTraitpublic DocumentationTrait(java.lang.String value) 
 
- 
 
-