public enum LeaseStatusType extends Enum<LeaseStatusType>
Enum Constant and Description |
---|
LOCKED
Enum value locked.
|
UNLOCKED
Enum value unlocked.
|
Modifier and Type | Method and Description |
---|---|
static LeaseStatusType |
fromString(String value)
Parses a serialized value to a LeaseStatusType instance.
|
String |
toString() |
static LeaseStatusType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LeaseStatusType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LeaseStatusType LOCKED
public static final LeaseStatusType UNLOCKED
public static LeaseStatusType[] values()
public static LeaseStatusType 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 LeaseStatusType fromString(String value)
value
- the serialized value to parse.public String toString()
toString
in class Enum<LeaseStatusType>
Copyright © 2019 Microsoft Corporation. All rights reserved.