Class StopHostsWhen
java.lang.Object
com.azure.core.util.ExpandableStringEnum<StopHostsWhen>
com.azure.resourcemanager.desktopvirtualization.models.StopHostsWhen
Defines values for StopHostsWhen.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final StopHostsWhen
Static value ZeroActiveSessions for StopHostsWhen.static final StopHostsWhen
Static value ZeroSessions for StopHostsWhen. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic StopHostsWhen
fromString
(String name) Creates or finds a StopHostsWhen from its string representation.static Collection<StopHostsWhen>
values()
Gets known StopHostsWhen values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
ZERO_SESSIONS
Static value ZeroSessions for StopHostsWhen. -
ZERO_ACTIVE_SESSIONS
Static value ZeroActiveSessions for StopHostsWhen.
-
-
Constructor Details
-
StopHostsWhen
public StopHostsWhen()
-
-
Method Details
-
fromString
Creates or finds a StopHostsWhen from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding StopHostsWhen.
-
values
Gets known StopHostsWhen values.- Returns:
- known StopHostsWhen values.
-