Class ListQueryMarshaller
java.lang.Object
software.amazon.awssdk.protocols.query.internal.marshall.ListQueryMarshaller
- All Implemented Interfaces:
Marshaller<List<?>>
,QueryMarshaller<List<?>>
Marshaller for list types.
-
Method Summary
Modifier and TypeMethodDescriptionstatic ListQueryMarshaller
awsQuery()
Wires up theListQueryMarshaller
with aListQueryMarshaller.PathResolver
that respects the flattened trait.static ListQueryMarshaller
ec2Query()
Wires up theListQueryMarshaller
with aListQueryMarshaller.PathResolver
that always flattens lists.void
-
Method Details
-
marshall
public void marshall(QueryMarshallerContext context, String path, List<?> val, SdkField<List<?>> sdkField) - Specified by:
marshall
in interfaceQueryMarshaller<List<?>>
-
awsQuery
Wires up theListQueryMarshaller
with aListQueryMarshaller.PathResolver
that respects the flattened trait.- Returns:
- ListQueryMarshaller.
-
ec2Query
Wires up theListQueryMarshaller
with aListQueryMarshaller.PathResolver
that always flattens lists. The EC2 protocol always flattens lists for inputs even when the 'flattened' trait is not present.- Returns:
- ListQueryMarshaller.
-