Class StopOnDisconnectStatus
java.lang.Object
com.azure.core.util.ExpandableStringEnum<StopOnDisconnectStatus>
com.azure.developer.devcenter.models.StopOnDisconnectStatus
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class StopOnDisconnectStatus
extends com.azure.core.util.ExpandableStringEnum<StopOnDisconnectStatus>
Indicates whether the feature to stop the devbox on disconnect once the grace period has lapsed is enabled.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StopOnDisconnectStatus
Stop on disconnect is not enabled on the Dev Box.static final StopOnDisconnectStatus
Stop on disconnect is enabled on the Dev Box. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StopOnDisconnectStatus
fromString
(String name) Creates or finds a StopOnDisconnectStatus from its string representation.static Collection
<StopOnDisconnectStatus> values()
Gets known StopOnDisconnectStatus values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
ENABLED
Stop on disconnect is enabled on the Dev Box. -
DISABLED
Stop on disconnect is not enabled on the Dev Box.
-
-
Constructor Details
-
StopOnDisconnectStatus
Deprecated.Use thefromString(String)
factory method.Creates a new instance of StopOnDisconnectStatus value.
-
-
Method Details
-
fromString
Creates or finds a StopOnDisconnectStatus from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding StopOnDisconnectStatus.
-
values
Gets known StopOnDisconnectStatus values.- Returns:
- known StopOnDisconnectStatus values.
-
fromString(String)
factory method.