Serializable, Comparable<DynamoDbAutoGenerateStrategy>public enum DynamoDbAutoGenerateStrategy extends Enum<DynamoDbAutoGenerateStrategy>
DynamoDbAutoGeneratedTimestamp| Enum Constant | Description |
|---|---|
ALWAYS |
Instructs to always generate both on create and update.
|
CREATE |
Instructs to generate on create only.
|
| Modifier and Type | Method | Description |
|---|---|---|
static DynamoDbAutoGenerateStrategy |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static DynamoDbAutoGenerateStrategy[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DynamoDbAutoGenerateStrategy ALWAYS
public static final DynamoDbAutoGenerateStrategy CREATE
public static DynamoDbAutoGenerateStrategy[] values()
for (DynamoDbAutoGenerateStrategy c : DynamoDbAutoGenerateStrategy.values()) System.out.println(c);
public static DynamoDbAutoGenerateStrategy valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2017 Amazon Web Services, Inc. All Rights Reserved.