MonitorProtocol Class

  • java.lang.Object
    • com.microsoft.rest.ExpandableStringEnum
      • com.microsoft.azure.management.trafficmanager.MonitorProtocol

public final class MonitorProtocol
extends com.microsoft.rest.ExpandableStringEnum<MonitorProtocol>

Defines values for MonitorProtocol.

Field Summary

Modifier and Type Field and Description
static final MonitorProtocol HTTP

Static value HTTP for MonitorProtocol.

static final MonitorProtocol HTTPS

Static value HTTPS for MonitorProtocol.

static final MonitorProtocol TCP

Static value TCP for MonitorProtocol.

Constructor Summary

Constructor Description
MonitorProtocol()

Method Summary

Modifier and Type Method and Description
static MonitorProtocol fromString(String name)

Creates or finds a MonitorProtocol from its string representation.

static java.util.Collection<MonitorProtocol> values()

Methods inherited from com.microsoft.rest.ExpandableStringEnum

com.microsoft.rest.ExpandableStringEnum.<T>fromString com.microsoft.rest.ExpandableStringEnum.<T>values com.microsoft.rest.ExpandableStringEnum.equals com.microsoft.rest.ExpandableStringEnum.hashCode com.microsoft.rest.ExpandableStringEnum.toString com.microsoft.rest.ExpandableStringEnum.withNameValue

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Field Details

HTTP

public static final MonitorProtocol HTTP

Static value HTTP for MonitorProtocol.

HTTPS

public static final MonitorProtocol HTTPS

Static value HTTPS for MonitorProtocol.

TCP

public static final MonitorProtocol TCP

Static value TCP for MonitorProtocol.

Constructor Details

MonitorProtocol

public MonitorProtocol()

Method Details

fromString

public static MonitorProtocol fromString(String name)

Creates or finds a MonitorProtocol from its string representation.

Parameters:

name - a name to look for

Returns:

the corresponding MonitorProtocol

values

public static Collection values()

Returns:

known MonitorProtocol values

Applies to