public enum ComputeNodeState extends Enum<ComputeNodeState>
Enum Constant and Description |
---|
CREATING
Enum value creating.
|
IDLE
Enum value idle.
|
LEAVING_POOL
Enum value leavingPool.
|
OFFLINE
Enum value offline.
|
PREEMPTED
Enum value preempted.
|
REBOOTING
Enum value rebooting.
|
REIMAGING
Enum value reimaging.
|
RUNNING
Enum value running.
|
START_TASK_FAILED
Enum value startTaskFailed.
|
STARTING
Enum value starting.
|
UNKNOWN
Enum value unknown.
|
UNUSABLE
Enum value unusable.
|
WAITING_FOR_START_TASK
Enum value waitingForStartTask.
|
Modifier and Type | Method and Description |
---|---|
static ComputeNodeState |
fromString(String value)
Parses a serialized value to a ComputeNodeState instance.
|
String |
toString() |
static ComputeNodeState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ComputeNodeState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ComputeNodeState IDLE
public static final ComputeNodeState REBOOTING
public static final ComputeNodeState REIMAGING
public static final ComputeNodeState RUNNING
public static final ComputeNodeState UNUSABLE
public static final ComputeNodeState CREATING
public static final ComputeNodeState STARTING
public static final ComputeNodeState WAITING_FOR_START_TASK
public static final ComputeNodeState START_TASK_FAILED
public static final ComputeNodeState UNKNOWN
public static final ComputeNodeState LEAVING_POOL
public static final ComputeNodeState OFFLINE
public static final ComputeNodeState PREEMPTED
public static ComputeNodeState[] values()
for (ComputeNodeState c : ComputeNodeState.values()) System.out.println(c);
public static ComputeNodeState 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 ComputeNodeState fromString(String value)
value
- the serialized value to parse.public String toString()
toString
in class Enum<ComputeNodeState>
Copyright © 2019. All rights reserved.