com.amazonaws.services.dynamodbv2.datamodeling
Annotation Type DynamoDBMarshalling
@Retention(value=RUNTIME)
@Target(value={FIELD,METHOD})
public @interface DynamoDBMarshalling
Annotation to mark a property as using a custom marshaller. This is required
when storing anything other than String
s, Number
s, and
Set
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
marshallerClass
public abstract Class<? extends DynamoDBMarshaller<? extends Object>> marshallerClass
- The class of the Marshaller that converts this property to and from a
String.
Copyright © 2016. All rights reserved.