Class ListQueryMarshaller
- java.lang.Object
-
- software.amazon.awssdk.protocols.query.internal.marshall.ListQueryMarshaller
-
- All Implemented Interfaces:
Marshaller<List<?>>,QueryMarshaller<List<?>>
public class ListQueryMarshaller extends Object implements QueryMarshaller<List<?>>
Marshaller for list types.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListQueryMarshallerawsQuery()Wires up theListQueryMarshallerwith aListQueryMarshaller.PathResolverthat respects the flattened trait.static ListQueryMarshallerec2Query()Wires up theListQueryMarshallerwith aListQueryMarshaller.PathResolverthat always flattens lists.voidmarshall(QueryMarshallerContext context, String path, List<?> val, SdkField<List<?>> sdkField)
-
-
-
Method Detail
-
marshall
public void marshall(QueryMarshallerContext context, String path, List<?> val, SdkField<List<?>> sdkField)
- Specified by:
marshallin interfaceQueryMarshaller<List<?>>
-
awsQuery
public static ListQueryMarshaller awsQuery()
Wires up theListQueryMarshallerwith aListQueryMarshaller.PathResolverthat respects the flattened trait.- Returns:
- ListQueryMarshaller.
-
ec2Query
public static 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.
-
-