TransportProtocol Class

  • java.lang.Object
    • com.microsoft.rest.ExpandableStringEnum
      • com.microsoft.azure.management.network.TransportProtocol

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

Defines values for TransportProtocol.

Field Summary

Modifier and Type Field and Description
static final TransportProtocol ALL

Static value All for TransportProtocol.

static final TransportProtocol TCP

Static value Tcp for TransportProtocol.

static final TransportProtocol UDP

Static value Udp for TransportProtocol.

Constructor Summary

Constructor Description
TransportProtocol()

Method Summary

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

Creates or finds a TransportProtocol from its string representation.

static java.util.Collection<TransportProtocol> 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

ALL

public static final TransportProtocol ALL

Static value All for TransportProtocol.

TCP

public static final TransportProtocol TCP

Static value Tcp for TransportProtocol.

UDP

public static final TransportProtocol UDP

Static value Udp for TransportProtocol.

Constructor Details

TransportProtocol

public TransportProtocol()

Method Details

fromString

public static TransportProtocol fromString(String name)

Creates or finds a TransportProtocol from its string representation.

Parameters:

name - a name to look for

Returns:

the corresponding TransportProtocol

values

public static Collection values()

Returns:

known TransportProtocol values

Applies to