Class StopHostsWhen
- java.lang.Object
-
- com.azure.core.util.ExpandableStringEnum<StopHostsWhen>
-
- com.azure.resourcemanager.desktopvirtualization.models.StopHostsWhen
-
public final class StopHostsWhen extends com.azure.core.util.ExpandableStringEnum<StopHostsWhen>
Defines values for StopHostsWhen.
-
-
Field Summary
Fields Modifier and Type Field Description static StopHostsWhenZERO_ACTIVE_SESSIONSStatic value ZeroActiveSessions for StopHostsWhen.static StopHostsWhenZERO_SESSIONSStatic value ZeroSessions for StopHostsWhen.
-
Constructor Summary
Constructors Constructor Description StopHostsWhen()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StopHostsWhenfromString(String name)Creates or finds a StopHostsWhen from its string representation.static Collection<StopHostsWhen>values()
-
-
-
Field Detail
-
ZERO_SESSIONS
public static final StopHostsWhen ZERO_SESSIONS
Static value ZeroSessions for StopHostsWhen.
-
ZERO_ACTIVE_SESSIONS
public static final StopHostsWhen ZERO_ACTIVE_SESSIONS
Static value ZeroActiveSessions for StopHostsWhen.
-
-
Method Detail
-
fromString
public static StopHostsWhen fromString(String name)
Creates or finds a StopHostsWhen from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding StopHostsWhen.
-
values
public static Collection<StopHostsWhen> values()
- Returns:
- known StopHostsWhen values.
-
-