Class StopHostsWhen


  • public final class StopHostsWhen
    extends com.azure.core.util.ExpandableStringEnum<StopHostsWhen>
    Defines values for StopHostsWhen.
    • 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.
    • Constructor Detail

      • StopHostsWhen

        public 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.