PowerState Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. appplatform. models. PowerState
- com.
- com.
public final class PowerState
extends ExpandableStringEnum<PowerState>
Power state of the Service.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Power |
RUNNING
Static value Running for Power |
static final
Power |
STOPPED
Static value Stopped for Power |
Constructor Summary
Constructor | Description |
---|---|
PowerState() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Power |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Power |
fromString(String name)
Creates or finds a Power |
static
Collection<Power |
values()
Gets known Power |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
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
@Deprecated
public PowerState()
Deprecated
Creates a new instance of PowerState value.
Method Details
fromString
public static PowerState fromString(String name)
Creates or finds a PowerState from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known PowerState values.
Returns:
Applies to
Azure SDK for Java