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
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
marshaller
(MarshallingType<T> marshallingType, QueryMarshaller<T> marshaller) Registers a marshaller of the given type.
-
Method Details
-
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
- Returns:
- An immutable
QueryMarshallerRegistry
object.
-