Annotation Type DynamoDbAtomicCounter
-
@Target(METHOD) @Retention(RUNTIME) public @interface DynamoDbAtomicCounter
Used to explicitly designate an attribute to be an auto-generated counter updated unconditionally in DynamoDB. By default, the counter will start on 0 and increment with 1 for each subsequent calls to updateItem. By supplying a negative integer delta value, the attribute works as a decreasing counter.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description longdeltaThe value to increment (positive) or decrement (negative) the counter with for each update.longstartValueThe starting value of the counter.
-