Class LocationTrait
- java.lang.Object
-
- software.amazon.awssdk.core.traits.LocationTrait
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LocationTrait.Builder
Builder forLocationTrait
.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LocationTrait.Builder
builder()
MarshallLocation
location()
String
locationName()
String
unmarshallLocationName()
-
-
-
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.
-
builder
public static LocationTrait.Builder builder()
- Returns:
- Builder instance.
-
-