Protocol Class

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

public class Protocol

Defines values for Protocol.

Field Summary

Modifier and Type Field and Description
final Protocol TCP

Static value TCP for Protocol.

final Protocol UDP

Static value UDP for Protocol.

Constructor Summary

Constructor Description
Protocol(String value)

Creates a custom value for Protocol.

Method Summary

Modifier and Type Method and Description
boolean equals(Object obj)
int hashCode()
String toString()

Field Details

TCP

public static final Protocol TCP= new Protocol("TCP")

Static value TCP for Protocol.

UDP

public static final Protocol UDP= new Protocol("UDP")

Static value UDP for Protocol.

Constructor Details

Protocol

public Protocol(String value)

Creates a custom value for Protocol.

Parameters:

value - the custom value

Method Details

equals

public boolean equals(Object obj)

Parameters:

obj

hashCode

public int hashCode()

toString

public String toString()

Applies to