PcProtocol Class

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

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

Defines values for PcProtocol.

Field Summary

Modifier and Type Field and Description
static final PcProtocol ANY

Static value Any for PcProtocol.

static final PcProtocol TCP

Static value TCP for PcProtocol.

static final PcProtocol UDP

Static value UDP for PcProtocol.

Constructor Summary

Constructor Description
PcProtocol()

Method Summary

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

Creates or finds a PcProtocol from its string representation.

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

ANY

public static final PcProtocol ANY

Static value Any for PcProtocol.

TCP

public static final PcProtocol TCP

Static value TCP for PcProtocol.

UDP

public static final PcProtocol UDP

Static value UDP for PcProtocol.

Constructor Details

PcProtocol

public PcProtocol()

Method Details

fromString

public static PcProtocol fromString(String name)

Creates or finds a PcProtocol from its string representation.

Parameters:

name - a name to look for

Returns:

the corresponding PcProtocol

values

public static Collection values()

Returns:

known PcProtocol values

Applies to