Protocol Class

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

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

Defines values for Protocol.

Field Summary

Modifier and Type Field and Description
static final Protocol HTTP

Static value Http for Protocol.

static final Protocol HTTPS

Static value Https for Protocol.

static final Protocol ICMP

Static value Icmp for Protocol.

static final Protocol TCP

Static value Tcp for Protocol.

Constructor Summary

Constructor Description
Protocol()

Method Summary

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

Creates or finds a Protocol from its string representation.

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

Static value Http for Protocol.

HTTPS

public static final Protocol HTTPS

Static value Https for Protocol.

ICMP

public static final Protocol ICMP

Static value Icmp for Protocol.

TCP

public static final Protocol TCP

Static value Tcp for Protocol.

Constructor Details

Protocol

public Protocol()

Method Details

fromString

public static Protocol fromString(String name)

Creates or finds a Protocol from its string representation.

Parameters:

name - a name to look for

Returns:

the corresponding Protocol

values

public static Collection values()

Returns:

known Protocol values

Applies to