Class TransportProtocol
java.lang.Object
com.microsoft.rest.ExpandableStringEnum<TransportProtocol>
com.microsoft.azure.management.network.TransportProtocol
public final class TransportProtocol
extends com.microsoft.rest.ExpandableStringEnum<TransportProtocol>
Defines values for TransportProtocol.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TransportProtocolStatic value All for TransportProtocol.static final TransportProtocolStatic value Tcp for TransportProtocol.static final TransportProtocolStatic value Udp for TransportProtocol. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TransportProtocolfromString(String name) Creates or finds a TransportProtocol from its string representation.static Collection<TransportProtocol>values()Methods inherited from class com.microsoft.rest.ExpandableStringEnum
equals, fromString, hashCode, toString, values, withNameValue
-
Field Details
-
UDP
Static value Udp for TransportProtocol. -
TCP
Static value Tcp for TransportProtocol. -
ALL
Static value All for TransportProtocol.
-
-
Constructor Details
-
TransportProtocol
public TransportProtocol()
-
-
Method Details
-
fromString
Creates or finds a TransportProtocol from its string representation.- Parameters:
name- a name to look for- Returns:
- the corresponding TransportProtocol
-
values
- Returns:
- known TransportProtocol values
-