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 than Strings, Numbers, and Sets 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:
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Class<? extends DynamoDBMarshaller<? extends Object>>
    The class of the Marshaller that converts this property to and from a String.
  • Element Details

    • marshallerClass

      Class<? extends DynamoDBMarshaller<? extends Object>> marshallerClass
      The class of the Marshaller that converts this property to and from a String.