public class ListQueryMarshaller extends Object implements QueryMarshaller<List<?>>
Modifier and Type | Method and Description |
---|---|
static ListQueryMarshaller |
awsQuery()
Wires up the
ListQueryMarshaller with a PathResolver that respects the flattened trait. |
static ListQueryMarshaller |
ec2Query()
Wires up the
ListQueryMarshaller with a PathResolver that always flattens lists. |
void |
marshall(QueryMarshallerContext context,
String path,
List<?> val,
SdkField<List<?>> sdkField) |
public void marshall(QueryMarshallerContext context, String path, List<?> val, SdkField<List<?>> sdkField)
marshall
in interface QueryMarshaller<List<?>>
public static ListQueryMarshaller awsQuery()
ListQueryMarshaller
with a PathResolver
that respects the flattened trait.public static ListQueryMarshaller ec2Query()
ListQueryMarshaller
with a PathResolver
that always flattens lists. The EC2 protocol
always flattens lists for inputs even when the 'flattened' trait is not present.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.