PcProtocol Class

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

public class PcProtocol

Defines values for PcProtocol.

Field Summary

Modifier and Type Field and Description
final PcProtocol ANY

Static value Any for PcProtocol.

final PcProtocol TCP

Static value TCP for PcProtocol.

final PcProtocol UDP

Static value UDP for PcProtocol.

Constructor Summary

Constructor Description
PcProtocol(String value)

Creates a custom value for PcProtocol.

Method Summary

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

Field Details

ANY

public static final PcProtocol ANY= new PcProtocol("Any")

Static value Any for PcProtocol.

TCP

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

Static value TCP for PcProtocol.

UDP

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

Static value UDP for PcProtocol.

Constructor Details

PcProtocol

public PcProtocol(String value)

Creates a custom value for PcProtocol.

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