Annotation Type DynamoDBAutoGeneratedTimestamp
-
@Retention(RUNTIME) @Target({FIELD,METHOD}) public @interface DynamoDBAutoGeneratedTimestamp
Annotation for marking a property as auto-generatable. Please note, onlyjava.util.Calendar
,java.util.Date
andjava.lang.Long
are supported for now. Primitives such aslong
are not supported since the unset (or null) state can't be detected.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description DynamoDBAutoGenerateStrategy
strategy
The auto-generation strategy; default isALWAYS
.
-
-
-
Element Detail
-
strategy
DynamoDBAutoGenerateStrategy strategy
The auto-generation strategy; default isALWAYS
.- See Also:
DynamoDBAutoGenerateStrategy.ALWAYS
- Default:
- com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBAutoGenerateStrategy.ALWAYS
-
-