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 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
marshall(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:
marshall
in interfaceQueryMarshaller<List<?>>
-
awsQuery
public static ListQueryMarshaller awsQuery()
Wires up theListQueryMarshaller
with aListQueryMarshaller.PathResolver
that respects the flattened trait.- Returns:
- ListQueryMarshaller.
-
ec2Query
public static 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.
-
-