public class ObjectToMapMarshaller extends java.lang.Object implements ArgumentMarshaller.MapAttributeMarshaller
ArgumentMarshaller.BinaryAttributeMarshaller, ArgumentMarshaller.BinarySetAttributeMarshaller, ArgumentMarshaller.BooleanAttributeMarshaller, ArgumentMarshaller.ListAttributeMarshaller, ArgumentMarshaller.MapAttributeMarshaller, ArgumentMarshaller.NumberAttributeMarshaller, ArgumentMarshaller.NumberSetAttributeMarshaller, ArgumentMarshaller.StringAttributeMarshaller, ArgumentMarshaller.StringSetAttributeMarshaller
Constructor and Description |
---|
ObjectToMapMarshaller(ItemConverter converter)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static ObjectToMapMarshaller |
instance()
returns a singleton instance.
|
AttributeValue |
marshall(java.lang.Object obj)
Marshalls the object given into an AttributeValue.
|
public ObjectToMapMarshaller(ItemConverter converter)
converter
- the ItemConverter
public static ObjectToMapMarshaller instance()
ObjectToMapMarshaller
public AttributeValue marshall(java.lang.Object obj)
ArgumentMarshaller
marshall
in interface ArgumentMarshaller
obj
- the object to be marshalled.AttributeValue
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.