public final class StringToStringMarshaller extends Object implements ArgumentMarshaller.StringAttributeMarshaller
String
objects to DynamoDB Strings.ArgumentMarshaller.BinaryAttributeMarshaller, ArgumentMarshaller.BinarySetAttributeMarshaller, ArgumentMarshaller.BooleanAttributeMarshaller, ArgumentMarshaller.ListAttributeMarshaller, ArgumentMarshaller.MapAttributeMarshaller, ArgumentMarshaller.NumberAttributeMarshaller, ArgumentMarshaller.NumberSetAttributeMarshaller, ArgumentMarshaller.StringAttributeMarshaller, ArgumentMarshaller.StringSetAttributeMarshaller
Modifier and Type | Method and Description |
---|---|
static StringToStringMarshaller |
instance()
returns a singleton instance.
|
AttributeValue |
marshall(Object obj)
Marshalls the object given into an AttributeValue.
|
public static StringToStringMarshaller instance()
StringToStringMarshaller
public AttributeValue marshall(Object obj)
ArgumentMarshaller
marshall
in interface ArgumentMarshaller
obj
- the object to be marshalled.AttributeValue
Copyright © 2019. All rights reserved.