Class TransportProtocol
java.lang.Object
com.azure.core.util.ExpandableStringEnum<TransportProtocol>
com.azure.resourcemanager.security.models.TransportProtocol
public final class TransportProtocol
extends com.azure.core.util.ExpandableStringEnum<TransportProtocol>
Defines values for TransportProtocol.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final TransportProtocol
Static value TCP for TransportProtocol.static final TransportProtocol
Static value UDP for TransportProtocol. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic TransportProtocol
fromString
(String name) Creates or finds a TransportProtocol from its string representation.static Collection<TransportProtocol>
values()
Gets known TransportProtocol values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
TCP
Static value TCP for TransportProtocol. -
UDP
Static value UDP 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
Gets known TransportProtocol values.- Returns:
- known TransportProtocol values.
-