Class ListTrait
java.lang.Object
software.amazon.awssdk.core.traits.ListTrait
- All Implemented Interfaces:
Trait
Trait that includes additional metadata about List members.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic ListTrait.Builder
builder()
boolean
Location name of member, this is typically only used for XML based protocols which use separate tags for each item.
-
Method Details
-
memberLocationName
Location name of member, this is typically only used for XML based protocols which use separate tags for each item. This is not used for JSON and JSON-like protocols.- Returns:
- Member location name.
-
memberFieldInfo
- Returns:
- Metadata about the items this list contains. May be further nested in the case of complex nested containers.
-
isFlattened
public boolean isFlattened()- Returns:
- Whether the list should be marshalled/unmarshalled as a 'flattened' list. This only applies to Query/XML protocols.
-
builder
-