Annotation Interface Version
Marks a field as the version field for optimistic locking.
When present and optimistic locking is enabled via
withOptimisticLocking(), the library automatically adds a condition
expression that checks the version hasn't changed, and increments the version
on successful write.
The annotated field must be of type Integer or int.
@DynamoDbBean
public class Item {
@Version
private Integer version;
}