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 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 marshaller
      marshaller - Marshaller implementation.
      Returns:
      This builder for method chaining.
    • build

      public QueryMarshallerRegistry build()
      Returns:
      An immutable QueryMarshallerRegistry object.