Class HttpPayloadTrait

java.lang.Object
software.amazon.smithy.model.traits.AnnotationTrait
software.amazon.smithy.model.traits.HttpPayloadTrait
All Implemented Interfaces:
FromSourceLocation, ToNode, ToShapeId, Trait

public final class HttpPayloadTrait extends AnnotationTrait
Binds a single structure member to the payload of an HTTP request.
  • Field Details

    • ID

      public static final ShapeId ID
  • Constructor Details

    • HttpPayloadTrait

      public HttpPayloadTrait(ObjectNode node)
    • HttpPayloadTrait

      public HttpPayloadTrait()