com.amazonaws.services.dynamodbv2.datamodeling
Annotation Type DynamoDBRangeKey


@Retention(value=RUNTIME)
@Target(value={FIELD,METHOD})
public @interface DynamoDBRangeKey

Annotation for marking a property in a class as the range key for a DynamoDB table. Applied to the getter method or the class field for the range key property. If the annotation is applied directly to the class field, the corresponding getter and setter must be declared in the same class.

This annotation is required for tables that use a range key.


Optional Element Summary
 java.lang.String attributeName
          Optional parameter when the name of the attribute as stored in DynamoDB should differ from the name used by the getter / setter.
 

attributeName

public abstract java.lang.String attributeName
Optional parameter when the name of the attribute as stored in DynamoDB should differ from the name used by the getter / setter.

Default:
""


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.