Class State


  • public final class State
    extends com.azure.core.util.ExpandableStringEnum<State>
    Defines values for State.
    • Field Detail

      • CREATING

        public static final State CREATING
        Static value Creating for State.
      • UNAVAILABLE

        public static final State UNAVAILABLE
        Static value Unavailable for State.
      • RUNNING

        public static final State RUNNING
        Static value Running for State.
      • DELETING

        public static final State DELETING
        Static value Deleting for State.
      • DELETED

        public static final State DELETED
        Static value Deleted for State.
      • STOPPING

        public static final State STOPPING
        Static value Stopping for State.
      • STOPPED

        public static final State STOPPED
        Static value Stopped for State.
      • STARTING

        public static final State STARTING
        Static value Starting for State.
      • UPDATING

        public static final State UPDATING
        Static value Updating for State.
    • Constructor Detail

      • State

        public State()
    • Method Detail

      • fromString

        public static State fromString​(String name)
        Creates or finds a State from its string representation.
        Parameters:
        name - a name to look for.
        Returns:
        the corresponding State.
      • values

        public static Collection<State> values()
        Returns:
        known State values.