Class UniqueItemsTrait
- java.lang.Object
-
- software.amazon.smithy.model.traits.AnnotationTrait
-
- software.amazon.smithy.model.traits.UniqueItemsTrait
-
- All Implemented Interfaces:
FromSourceLocation
,ToNode
,ToShapeId
,Trait
public final class UniqueItemsTrait extends AnnotationTrait
Indicates that the members of a list must be unique.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UniqueItemsTrait.Provider
-
Constructor Summary
Constructors Constructor Description UniqueItemsTrait()
UniqueItemsTrait(SourceLocation sourceLocation)
-
Method Summary
-
Methods inherited from class software.amazon.smithy.model.traits.AnnotationTrait
equals, getSourceLocation, hashCode, toNode, toShapeId
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface software.amazon.smithy.model.traits.Trait
isSynthetic
-
-
-
-
Field Detail
-
ID
public static final ShapeId ID
-
-
Constructor Detail
-
UniqueItemsTrait
public UniqueItemsTrait()
-
UniqueItemsTrait
public UniqueItemsTrait(SourceLocation sourceLocation)
-
-