Class LocationTrait

  • All Implemented Interfaces:
    Trait

    public final class LocationTrait
    extends Object
    implements Trait
    Trait to include metadata about the marshalling/unmarshalling location (i.e. headers/payload/etc).
    • Method Detail

      • location

        public MarshallLocation location()
        Returns:
        Location of member (i.e. headers/query/path/payload).
      • locationName

        public String locationName()
        Returns:
        Location name of member. I.E. the header or query param name, or the JSON field name, etc.
      • unmarshallLocationName

        public String unmarshallLocationName()
        Returns:
        Location name for unmarshalling. This is only needed for the legacy EC2 protocol which has different serialization/deserialization for the same fields.