Enum MarshallLocation

java.lang.Object
java.lang.Enum<MarshallLocation>
software.amazon.awssdk.core.protocol.MarshallLocation
All Implemented Interfaces:
Serializable, Comparable<MarshallLocation>

public enum MarshallLocation extends Enum<MarshallLocation>
Enum representing the various locations data can be marshalled to.
  • Enum Constant Details

    • PAYLOAD

      public static final MarshallLocation PAYLOAD
      Payload of the request (format depends on the protocol/content-type)
    • QUERY_PARAM

      public static final MarshallLocation QUERY_PARAM
      Add as a query parameter.
    • PATH

      public static final MarshallLocation PATH
      Replace the placeholder in the request URI (non-greedy).
    • GREEDY_PATH

      public static final MarshallLocation GREEDY_PATH
      Replace the placeholder in the request URI (greedy). This location is really the same as PATH, the only difference is whether it's URL encoded or not. Members bound to the PATH will be URL encoded before replacing, members bound to GREEDY_PATH will not be URL encoded.
    • STATUS_CODE

      public static final MarshallLocation STATUS_CODE
      HTTP status code of response.
  • Method Details

    • values

      public static MarshallLocation[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static MarshallLocation valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null