@Retention(RUNTIME) @Target({FIELD,METHOD,ANNOTATION_TYPE}) public @interface DynamoDbGeneratedUuid
UUID
.
@DynamoDBGeneratedUuid(DynamoDBAutoGenerateStrategy.CREATE) public UUID getKey()
When applied to a key field, only the strategy
DynamoDbAutoGenerateStrategy.CREATE
is supported.
The short-formed DynamoDbAutoGeneratedKey
may also be used for
create only.
May be used as a meta-annotation.
UUID
Modifier and Type | Required Element | Description |
---|---|---|
DynamoDbAutoGenerateStrategy |
value |
The auto-generation strategy.
|
DynamoDbAutoGenerateStrategy value
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.