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.
  • Field Details

    • ID

      public static final ShapeId ID
  • Constructor Details

    • OutputTrait

      public OutputTrait(ObjectNode node)
    • OutputTrait

      public OutputTrait()
    • OutputTrait

      public OutputTrait(SourceLocation sourceLocation)