Class RequiresLengthTrait

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

public final class RequiresLengthTrait extends AnnotationTrait
Indicates that the streaming blob must be finite and has a known size.
  • Field Details

    • ID

      public static final ShapeId ID
  • Constructor Details

    • RequiresLengthTrait

      public RequiresLengthTrait(ObjectNode node)
    • RequiresLengthTrait

      public RequiresLengthTrait()