Class PowerState
java.lang.Object
com.azure.core.util.ExpandableStringEnum<PowerState>
com.azure.resourcemanager.appplatform.models.PowerState
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
Power state of the Service.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PowerStateStatic value Running for PowerState.static final PowerStateStatic value Stopped for PowerState. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PowerStatefromString(String name) Creates or finds a PowerState from its string representation.static Collection<PowerState> values()Gets known PowerState values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
RUNNING
Static value Running for PowerState. -
STOPPED
Static value Stopped for PowerState.
-
-
Constructor Details
-
PowerState
Deprecated.Use thefromString(String)factory method.Creates a new instance of PowerState value.
-
-
Method Details
-
fromString
Creates or finds a PowerState from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding PowerState.
-
values
Gets known PowerState values.- Returns:
- known PowerState values.
-
fromString(String)factory method.