public class CustomMarshaller extends java.lang.Object implements ArgumentMarshaller.StringAttributeMarshaller
DynamoDBMarshalling
-derived custom marshaler.ArgumentMarshaller.BinaryAttributeMarshaller, ArgumentMarshaller.BinarySetAttributeMarshaller, ArgumentMarshaller.BooleanAttributeMarshaller, ArgumentMarshaller.ListAttributeMarshaller, ArgumentMarshaller.MapAttributeMarshaller, ArgumentMarshaller.NumberAttributeMarshaller, ArgumentMarshaller.NumberSetAttributeMarshaller, ArgumentMarshaller.StringAttributeMarshaller, ArgumentMarshaller.StringSetAttributeMarshaller
Constructor and Description |
---|
CustomMarshaller(java.lang.Class<? extends DynamoDBMarshaller<?>> marshallerClass)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
AttributeValue |
marshall(java.lang.Object obj)
Marshalls the object given into an AttributeValue.
|
public CustomMarshaller(java.lang.Class<? extends DynamoDBMarshaller<?>> marshallerClass)
marshallerClass
- an instance of marshaller.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.