public enum NodePoolState extends Enum<NodePoolState>
Enum Constant and Description |
---|
ABORTED |
BUILDING |
DELETING |
FAILED |
FULFILLED |
HOLD |
IN_USE |
INIT |
PENDING |
READY |
REQUESTED |
TESTING |
UPLOADING |
USED |
Modifier and Type | Method and Description |
---|---|
static NodePoolState |
fromString(String stateString)
Converts a NodePool state string into a NodePoolState enum object.
|
String |
getStateString()
Returns the specification string associated with this NodePool state object.
|
String |
toString()
Returns the string representation of this object.
|
static NodePoolState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NodePoolState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="building") public static final NodePoolState BUILDING
@SerializedName(value="uploading") public static final NodePoolState UPLOADING
@SerializedName(value="ready") public static final NodePoolState READY
@SerializedName(value="deleting") public static final NodePoolState DELETING
@SerializedName(value="failed") public static final NodePoolState FAILED
@SerializedName(value="requested") public static final NodePoolState REQUESTED
@SerializedName(value="fulfilled") public static final NodePoolState FULFILLED
@SerializedName(value="pending") public static final NodePoolState PENDING
@SerializedName(value="testing") public static final NodePoolState TESTING
@SerializedName(value="in-use") public static final NodePoolState IN_USE
@SerializedName(value="used") public static final NodePoolState USED
@SerializedName(value="hold") public static final NodePoolState HOLD
@SerializedName(value="init") public static final NodePoolState INIT
@SerializedName(value="aborted") public static final NodePoolState ABORTED
public static NodePoolState[] values()
for (NodePoolState c : NodePoolState.values()) System.out.println(c);
public static NodePoolState 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 NodePoolState fromString(String stateString)
stateString
- the string representation of the NodePool statepublic String getStateString()
public String toString()
toString
in class Enum<NodePoolState>
Copyright © 2016–2018. All rights reserved.