Class DateToStringMarshaller
- java.lang.Object
-
- com.amazonaws.services.dynamodbv2.datamodeling.marshallers.DateToStringMarshaller
-
- All Implemented Interfaces:
ArgumentMarshaller
,ArgumentMarshaller.StringAttributeMarshaller
public class DateToStringMarshaller extends Object implements ArgumentMarshaller.StringAttributeMarshaller
A marshaller that marshals JavaDate
objects into DynamoDB Strings (in ISO 8601 format, ie "2014-01-01T00:00:00Z").
-
-
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 DateToStringMarshaller
instance()
AttributeValue
marshall(Object obj)
Marshalls the object given into an AttributeValue.
-
-
-
Method Detail
-
instance
public static DateToStringMarshaller instance()
-
marshall
public AttributeValue marshall(Object obj)
Description copied from interface:ArgumentMarshaller
Marshalls the object given into an AttributeValue.- Specified by:
marshall
in interfaceArgumentMarshaller
-
-