public final 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 | Method and Description |
---|---|
static DateToStringMarshaller |
instance()
Return a singleton instance.
|
AttributeValue |
marshall(java.lang.Object obj)
Marshalls the object given into an AttributeValue.
|
public static DateToStringMarshaller instance()
DateToStringMarshaller
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.