Class OutputTrait
- java.lang.Object
-
- software.amazon.smithy.model.traits.AnnotationTrait
-
- software.amazon.smithy.model.traits.OutputTrait
-
- All Implemented Interfaces:
FromSourceLocation
,ToNode
,ToShapeId
,Trait
public final class OutputTrait extends AnnotationTrait
Specializes a structure as the output of a single operation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OutputTrait.Provider
-
Constructor Summary
Constructors Constructor Description OutputTrait()
OutputTrait(ObjectNode node)
OutputTrait(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
-
OutputTrait
public OutputTrait(ObjectNode node)
-
OutputTrait
public OutputTrait()
-
OutputTrait
public OutputTrait(SourceLocation sourceLocation)
-
-