Annotation Type DynamoDBMarshalling
-
@Retention(RUNTIME) @Target({FIELD,METHOD}) public @interface DynamoDBMarshalling
Annotation to mark a property as using a custom marshaller. This is required when storing anything other thanString
s,Number
s, andSet
s of the same to DynamoDB. Any object that can be converted into a String representation and vice versa can be saved in this manner. This annotation can be applied to either the getter method or the class field for the specific property. If the annotation is applied directly to the class field, the corresponding getter and setter must be declared in the same class.- See Also:
DynamoDBMarshaller
,JsonMarshaller
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description Class<? extends DynamoDBMarshaller<? extends Object>>
marshallerClass
The class of the Marshaller that converts this property to and from a String.
-
-
-
Element Detail
-
marshallerClass
Class<? extends DynamoDBMarshaller<? extends Object>> marshallerClass
The class of the Marshaller that converts this property to and from a String.
-
-