public static enum ObjectLockConfiguration.RetentionDurationUnit extends Enum<ObjectLockConfiguration.RetentionDurationUnit>
| Modifier and Type | Method and Description |
|---|---|
static ObjectLockConfiguration.RetentionDurationUnit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ObjectLockConfiguration.RetentionDurationUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ObjectLockConfiguration.RetentionDurationUnit DAYS
public static final ObjectLockConfiguration.RetentionDurationUnit YEARS
public static ObjectLockConfiguration.RetentionDurationUnit[] values()
for (ObjectLockConfiguration.RetentionDurationUnit c : ObjectLockConfiguration.RetentionDurationUnit.values()) System.out.println(c);
public static ObjectLockConfiguration.RetentionDurationUnit 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 null