Class DefaultJsonUnmarshallerRegistry
- java.lang.Object
-
- software.amazon.awssdk.protocols.core.AbstractMarshallingRegistry
-
- software.amazon.awssdk.protocols.json.internal.unmarshall.DefaultJsonUnmarshallerRegistry
-
- All Implemented Interfaces:
JsonUnmarshallerRegistry
public final class DefaultJsonUnmarshallerRegistry extends AbstractMarshallingRegistry implements JsonUnmarshallerRegistry
Registry ofJsonUnmarshallerimplementations by location and type.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDefaultJsonUnmarshallerRegistry.BuilderBuilder for aDefaultJsonUnmarshallerRegistry.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DefaultJsonUnmarshallerRegistry.Builderbuilder()<T> JsonUnmarshaller<Object>getUnmarshaller(MarshallLocation marshallLocation, MarshallingType<T> marshallingType)Returns the unmarshaller for the given location and type.DefaultJsonUnmarshallerRegistry.BuildertoBuilder()Returns a builder to modify this registry.-
Methods inherited from class software.amazon.awssdk.protocols.core.AbstractMarshallingRegistry
get, toMarshallingType
-
-
-
-
Method Detail
-
getUnmarshaller
public <T> JsonUnmarshaller<Object> getUnmarshaller(MarshallLocation marshallLocation, MarshallingType<T> marshallingType)
Description copied from interface:JsonUnmarshallerRegistryReturns the unmarshaller for the given location and type. Throws an exception if no unmarshaller is found.- Specified by:
getUnmarshallerin interfaceJsonUnmarshallerRegistry
-
toBuilder
public DefaultJsonUnmarshallerRegistry.Builder toBuilder()
Returns a builder to modify this registry.
-
builder
public static DefaultJsonUnmarshallerRegistry.Builder builder()
- Returns:
- Builder instance to construct a
DefaultJsonUnmarshallerRegistry.
-
-