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 ofJsonUnmarshaller
implementations by location and type.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DefaultJsonUnmarshallerRegistry.Builder
Builder for aDefaultJsonUnmarshallerRegistry
.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DefaultJsonUnmarshallerRegistry.Builder
builder()
<T> JsonUnmarshaller<Object>
getUnmarshaller(MarshallLocation marshallLocation, MarshallingType<T> marshallingType)
Returns the unmarshaller for the given location and type.DefaultJsonUnmarshallerRegistry.Builder
toBuilder()
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:JsonUnmarshallerRegistry
Returns the unmarshaller for the given location and type. Throws an exception if no unmarshaller is found.- Specified by:
getUnmarshaller
in 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
.
-
-