DynamoDBVersionAttribute
instead.@Retention(value=RUNTIME) @Target(value=METHOD) @Deprecated public @interface DynamoDBVersionAttribute
Only nullable, integral numeric types (e.g. Integer, Long) can be used as
version properties. On a save() operation, the DynamoDBMapper
will
attempt to increment the version property and assert that the service's value
matches the client's. New objects will be assigned a version of 1 when saved.
Modifier and Type | Optional Element and Description |
---|---|
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 String attributeName
Copyright © 2014. All rights reserved.