public enum LeaseStateType extends Enum<LeaseStateType>
| Enum Constant and Description |
|---|
AVAILABLE
Enum value available.
|
BREAKING
Enum value breaking.
|
BROKEN
Enum value broken.
|
EXPIRED
Enum value expired.
|
LEASED
Enum value leased.
|
| Modifier and Type | Method and Description |
|---|---|
static LeaseStateType |
fromString(String value)
Parses a serialized value to a LeaseStateType instance.
|
String |
toString() |
static LeaseStateType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LeaseStateType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LeaseStateType AVAILABLE
public static final LeaseStateType LEASED
public static final LeaseStateType EXPIRED
public static final LeaseStateType BREAKING
public static final LeaseStateType BROKEN
public static LeaseStateType[] values()
public static LeaseStateType 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 LeaseStateType fromString(String value)
value - the serialized value to parse.public String toString()
toString in class Enum<LeaseStateType>Copyright © 2021 Microsoft Corporation. All rights reserved.