TransportProtocol Class

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

public class TransportProtocol

Defines values for TransportProtocol.

Field Summary

Modifier and Type Field and Description
final TransportProtocol TCP

Static value Tcp for TransportProtocol.

final TransportProtocol UDP

Static value Udp for TransportProtocol.

Constructor Summary

Constructor Description
TransportProtocol(String value)

Creates a custom value for TransportProtocol.

Method Summary

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

Field Details

TCP

public static final TransportProtocol TCP= new TransportProtocol("Tcp")

Static value Tcp for TransportProtocol.

UDP

public static final TransportProtocol UDP= new TransportProtocol("Udp")

Static value Udp for TransportProtocol.

Constructor Details

TransportProtocol

public TransportProtocol(String value)

Creates a custom value for TransportProtocol.

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