Class TitleTrait
- java.lang.Object
-
- software.amazon.smithy.model.traits.AbstractTrait
-
- software.amazon.smithy.model.traits.StringTrait
-
- software.amazon.smithy.model.traits.TitleTrait
-
- All Implemented Interfaces:
FromSourceLocation
,ToNode
,ToShapeId
,Trait
public final class TitleTrait extends StringTrait
Provides a human-readable proper noun title to services and resources.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TitleTrait.Provider
-
Constructor Summary
Constructors Constructor Description TitleTrait(java.lang.String value)
TitleTrait(java.lang.String value, SourceLocation sourceLocation)
-
Method Summary
-
Methods inherited from class software.amazon.smithy.model.traits.StringTrait
createNode, getValue
-
Methods inherited from class software.amazon.smithy.model.traits.AbstractTrait
equals, getSourceLocation, hashCode, setNodeCache, toNode, toShapeId, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.smithy.model.traits.Trait
isSynthetic
-
-
-
-
Field Detail
-
ID
public static final ShapeId ID
-
-
Constructor Detail
-
TitleTrait
public TitleTrait(java.lang.String value, SourceLocation sourceLocation)
-
TitleTrait
public TitleTrait(java.lang.String value)
-
-