public final class BooleanToBooleanMarshaller extends Object implements ArgumentMarshaller.BooleanAttributeMarshaller
Boolean
objects to Dynamodb-native
BOOL
attribute values.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 BooleanToBooleanMarshaller |
instance()
Return a singleton instance.
|
AttributeValue |
marshall(Object obj)
Marshalls the object given into an AttributeValue.
|
public static BooleanToBooleanMarshaller instance()
BooleanToBooleanMarshaller
public AttributeValue marshall(Object obj)
ArgumentMarshaller
marshall
in interface ArgumentMarshaller
obj
- the object to be marshalled.AttributeValue
Copyright © 2019. All rights reserved.