|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||
@Retention(value=RUNTIME)
@Target(value={FIELD,METHOD})
public @interface DynamoDBHashKeyAnnotation for marking a property as the hash key for a modeled class. Applied to the getter method or the class field for a hash 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.
| Optional Element Summary | |
|---|---|
java.lang.String |
attributeName
Deprecated. Optional parameter when the name of the attribute as stored in DynamoDB should differ from the name used by the getter / setter. |
public abstract java.lang.String attributeName
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||