com.amazonaws.services.dynamodb.datamodeling
Annotation Type DynamoDBHashKey


@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface DynamoDBHashKey

Annotation for marking a property as the hash key for a modeled class. Applied to the getter method for a hash key property.

This annotation is required.


Optional Element Summary
 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 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.