public class CustomMarshaller extends 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(Class<? extends DynamoDBMarshaller<?>> marshallerClass)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
AttributeValue |
marshall(Object obj)
Marshalls the object given into an AttributeValue.
|
public CustomMarshaller(Class<? extends DynamoDBMarshaller<?>> marshallerClass)
marshallerClass
- an instance of marshaller.public AttributeValue marshall(Object obj)
ArgumentMarshaller
marshall
in interface ArgumentMarshaller
obj
- the object to be marshalled.AttributeValue
Copyright © 2019. All rights reserved.