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 ListQueryMarshallerawsQuery()Wires up theListQueryMarshallerwith aListQueryMarshaller.PathResolverthat respects the flattened trait.static ListQueryMarshallerec2Query()Wires up theListQueryMarshallerwith aListQueryMarshaller.PathResolverthat always flattens lists.void
-
Method Details
-
marshall
public void marshall(QueryMarshallerContext context, String path, List<?> val, SdkField<List<?>> sdkField) - Specified by:
marshallin interfaceQueryMarshaller<List<?>>
-
awsQuery
Wires up theListQueryMarshallerwith aListQueryMarshaller.PathResolverthat respects the flattened trait.- Returns:
- ListQueryMarshaller.
-
ec2Query
Wires up theListQueryMarshallerwith aListQueryMarshaller.PathResolverthat always flattens lists. The EC2 protocol always flattens lists for inputs even when the 'flattened' trait is not present.- Returns:
- ListQueryMarshaller.
-