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.
|
public static final NodePoolState BUILDING
public static final NodePoolState UPLOADING
public static final NodePoolState READY
public static final NodePoolState DELETING
public static final NodePoolState FAILED
public static final NodePoolState REQUESTED
public static final NodePoolState FULFILLED
public static final NodePoolState PENDING
public static final NodePoolState TESTING
public static final NodePoolState IN_USE
public static final NodePoolState USED
public static final NodePoolState HOLD
public static final NodePoolState INIT
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.