Class QueryMarshallerRegistry.Builder
- java.lang.Object
-
- software.amazon.awssdk.protocols.core.AbstractMarshallingRegistry.Builder
-
- software.amazon.awssdk.protocols.query.internal.marshall.QueryMarshallerRegistry.Builder
-
- Enclosing class:
- QueryMarshallerRegistry
public static class QueryMarshallerRegistry.Builder extends AbstractMarshallingRegistry.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QueryMarshallerRegistrybuild()<T> QueryMarshallerRegistry.Buildermarshaller(MarshallingType<T> marshallingType, QueryMarshaller<T> marshaller)Registers a marshaller of the given type.-
Methods inherited from class software.amazon.awssdk.protocols.core.AbstractMarshallingRegistry.Builder
register
-
-
-
-
Method Detail
-
marshaller
public <T> QueryMarshallerRegistry.Builder marshaller(MarshallingType<T> marshallingType, QueryMarshaller<T> marshaller)
Registers a marshaller of the given type. Since the Query protocol doesn't support location constraints this uses the location 'PAYLOAD' to register.- Type Parameters:
T- Type of marshaller being registered.- Parameters:
marshallingType- Type of marshallermarshaller- Marshaller implementation.- Returns:
- This builder for method chaining.
-
build
public QueryMarshallerRegistry build()
- Returns:
- An immutable
QueryMarshallerRegistryobject.
-
-