public class DateToStringMarshaller extends java.lang.Object implements ArgumentMarshaller.StringAttributeMarshaller
Date
objects into DynamoDB Strings
(in ISO 8601 format, ie "2014-01-01T00:00:00Z").ArgumentMarshaller.BinaryAttributeMarshaller, ArgumentMarshaller.BinarySetAttributeMarshaller, ArgumentMarshaller.BooleanAttributeMarshaller, ArgumentMarshaller.ListAttributeMarshaller, ArgumentMarshaller.MapAttributeMarshaller, ArgumentMarshaller.NumberAttributeMarshaller, ArgumentMarshaller.NumberSetAttributeMarshaller, ArgumentMarshaller.StringAttributeMarshaller, ArgumentMarshaller.StringSetAttributeMarshaller
Modifier and Type | Field and Description |
---|---|
private static DateToStringMarshaller |
INSTANCE |
Modifier | Constructor and Description |
---|---|
private |
DateToStringMarshaller() |
Modifier and Type | Method and Description |
---|---|
static DateToStringMarshaller |
instance() |
AttributeValue |
marshall(java.lang.Object obj)
Marshalls the object given into an AttributeValue.
|
private static final DateToStringMarshaller INSTANCE
public static DateToStringMarshaller instance()
public AttributeValue marshall(java.lang.Object obj)
ArgumentMarshaller
marshall
in interface ArgumentMarshaller