public enum LeaseDurationType extends Enum<LeaseDurationType>
| Enum Constant and Description |
|---|
FIXED
Enum value fixed.
|
INFINITE
Enum value infinite.
|
| Modifier and Type | Method and Description |
|---|---|
static LeaseDurationType |
fromString(String value)
Parses a serialized value to a LeaseDurationType instance.
|
String |
toString() |
static LeaseDurationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LeaseDurationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LeaseDurationType INFINITE
public static final LeaseDurationType FIXED
public static LeaseDurationType[] values()
for (LeaseDurationType c : LeaseDurationType.values()) System.out.println(c);
public static LeaseDurationType 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 nullpublic static LeaseDurationType fromString(String value)
value - the serialized value to parse.public String toString()
toString in class Enum<LeaseDurationType>This documentation was released into the public domain.