Class ObjectSetToStringSetMarshaller
- java.lang.Object
-
- com.amazonaws.services.dynamodbv2.datamodeling.marshallers.ObjectSetToStringSetMarshaller
-
- All Implemented Interfaces:
ArgumentMarshaller
,ArgumentMarshaller.StringSetAttributeMarshaller
public class ObjectSetToStringSetMarshaller extends Object implements ArgumentMarshaller.StringSetAttributeMarshaller
A legacy marshaller that marshals sets of arbitrary Java objects into DynamoDB StringSets by usingString.valueOf(Object)
. Retained for backwards compatibility in case someone is relying on this, but logs a warning if ever used since we only know how to unmarshal back to Java Strings.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.amazonaws.services.dynamodbv2.datamodeling.ArgumentMarshaller
ArgumentMarshaller.BinaryAttributeMarshaller, ArgumentMarshaller.BinarySetAttributeMarshaller, ArgumentMarshaller.BooleanAttributeMarshaller, ArgumentMarshaller.ListAttributeMarshaller, ArgumentMarshaller.MapAttributeMarshaller, ArgumentMarshaller.NumberAttributeMarshaller, ArgumentMarshaller.NumberSetAttributeMarshaller, ArgumentMarshaller.StringAttributeMarshaller, ArgumentMarshaller.StringSetAttributeMarshaller
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ObjectSetToStringSetMarshaller
instance()
AttributeValue
marshall(Object obj)
Marshalls the object given into an AttributeValue.
-
-
-
Method Detail
-
instance
public static ObjectSetToStringSetMarshaller instance()
-
marshall
public AttributeValue marshall(Object obj)
Description copied from interface:ArgumentMarshaller
Marshalls the object given into an AttributeValue.- Specified by:
marshall
in interfaceArgumentMarshaller
-
-