@Retention(value=RUNTIME)
@Target(value={FIELD,METHOD})
public @interface DynamoDBIndexRangeKey
This annotation is required if this attribute will be used as index key for item queries.
Modifier and Type | Optional Element and Description |
---|---|
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.
|
java.lang.String |
globalSecondaryIndexName
Parameter for the name of the global secondary index.
|
java.lang.String[] |
globalSecondaryIndexNames
Parameter for the names of the global secondary indexes.
|
java.lang.String |
localSecondaryIndexName
Parameter for the name of the local secondary index.
|
java.lang.String[] |
localSecondaryIndexNames
Parameter for the names of the local secondary indexes.
|
public abstract java.lang.String attributeName
public abstract java.lang.String localSecondaryIndexName
This is required if this attribute is the index key for only one local secondary index.
public abstract java.lang.String[] localSecondaryIndexNames
This is required if this attribute is the index key for multiple local secondary indexes.
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.