Class RestXmlTrait

All Implemented Interfaces:
FromSourceLocation, ToNode, ToShapeId, Trait

public final class RestXmlTrait extends AwsProtocolTrait
A RESTful protocol that sends XML in structured payloads.
  • Field Details

    • ID

      public static final ShapeId ID
  • Method Details

    • builder

      public static RestXmlTrait.Builder builder()
    • isNoErrorWrapping

      public boolean isNoErrorWrapping()
      Returns:
      Returns the noErrorWrapping setting.
    • createNode

      protected Node createNode()
      Description copied from class: AbstractTrait
      The result of toNode is used for hashCodes and equality. Subclasses must implement createNode to turn the trait into a Node. This is then cached for subsequent retrievals.
      Overrides:
      createNode in class AwsProtocolTrait
      Returns:
      Returns the trait as a node.