Annotation Type DynamoDBAutoGeneratedTimestamp


@Retention(RUNTIME) @Target({FIELD,METHOD}) public @interface DynamoDBAutoGeneratedTimestamp
Annotation for marking a property as auto-generatable. Please note, only java.util.Calendar, java.util.Date and java.lang.Long are supported for now. Primitives such as long are not supported since the unset (or null) state can't be detected.
  • Element Details

    • strategy

      The auto-generation strategy; default is ALWAYS.
      See Also:
      • DynamoDBAutoGenerateStrategy.ALWAYS
      Default:
      ALWAYS