java.lang.Object
com.azure.core.util.ExpandableStringEnum<PowerState>
com.azure.resourcemanager.appplatform.models.PowerState
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

public final class PowerState extends com.azure.core.util.ExpandableStringEnum<PowerState>
Power state of the Service.
  • 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

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