Class NodeState
- java.lang.Object
-
- com.azure.core.util.ExpandableStringEnum<NodeState>
-
- com.azure.resourcemanager.machinelearning.models.NodeState
-
public final class NodeState extends com.azure.core.util.ExpandableStringEnum<NodeState>
Defines values for NodeState.
-
-
Field Summary
Fields Modifier and Type Field Description static NodeState
IDLE
Static value idle for NodeState.static NodeState
LEAVING
Static value leaving for NodeState.static NodeState
PREEMPTED
Static value preempted for NodeState.static NodeState
PREPARING
Static value preparing for NodeState.static NodeState
RUNNING
Static value running for NodeState.static NodeState
UNUSABLE
Static value unusable for NodeState.
-
Constructor Summary
Constructors Constructor Description NodeState()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NodeState
fromString(String name)
Creates or finds a NodeState from its string representation.static Collection<NodeState>
values()
Gets known NodeState values.
-
-
-
Field Detail
-
IDLE
public static final NodeState IDLE
Static value idle for NodeState.
-
RUNNING
public static final NodeState RUNNING
Static value running for NodeState.
-
PREPARING
public static final NodeState PREPARING
Static value preparing for NodeState.
-
UNUSABLE
public static final NodeState UNUSABLE
Static value unusable for NodeState.
-
LEAVING
public static final NodeState LEAVING
Static value leaving for NodeState.
-
PREEMPTED
public static final NodeState PREEMPTED
Static value preempted for NodeState.
-
-
Method Detail
-
fromString
public static NodeState fromString(String name)
Creates or finds a NodeState from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding NodeState.
-
values
public static Collection<NodeState> values()
Gets known NodeState values.- Returns:
- known NodeState values.
-
-