Class NodeState


  • public final class NodeState
    extends com.azure.core.util.ExpandableStringEnum<NodeState>
    Defines values for NodeState.
    • 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.
    • Constructor Detail

      • NodeState

        public 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.