public static enum DynamoDBMapperConfig.SaveBehavior extends Enum<DynamoDBMapperConfig.SaveBehavior>
UPDATE will not affect unmodeled attributes on a save operation. CLOBBER will clear and replace all attributes, included unmodeled ones, (delete and recreate) on save. Versioned field constraints will also be disregarded.
By default, the mapper uses UPDATE.
| Modifier and Type | Method and Description |
|---|---|
static DynamoDBMapperConfig.SaveBehavior |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DynamoDBMapperConfig.SaveBehavior[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DynamoDBMapperConfig.SaveBehavior UPDATE
public static final DynamoDBMapperConfig.SaveBehavior CLOBBER
public static DynamoDBMapperConfig.SaveBehavior[] values()
for (DynamoDBMapperConfig.SaveBehavior c : DynamoDBMapperConfig.SaveBehavior.values()) System.out.println(c);
public static DynamoDBMapperConfig.SaveBehavior 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 © 2013 Amazon Web Services, Inc. All Rights Reserved.