java.lang.Object
com.azure.core.util.ExpandableStringEnum<PowerState>
com.azure.resourcemanager.appplatform.models.PowerState

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

    Fields
    Modifier and Type
    Field
    Description
    static final PowerState
    Static value Running for PowerState.
    static final PowerState
    Static value Stopped for PowerState.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static PowerState
    Creates or finds a PowerState from its string representation.
    Gets known PowerState values.

    Methods inherited from class com.azure.core.util.ExpandableStringEnum

    equals, fromString, hashCode, toString, values

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • RUNNING

      public static final PowerState RUNNING
      Static value Running for PowerState.
    • STOPPED

      public static final PowerState STOPPED
      Static value Stopped for PowerState.
  • Constructor Details

    • PowerState

      public PowerState()
  • Method Details

    • fromString

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

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