Class Protocol
java.lang.Object
com.azure.core.util.ExpandableStringEnum<Protocol>
com.azure.resourcemanager.security.models.Protocol
Defines values for Protocol.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Protocol
fromString
(String name) Creates or finds a Protocol from its string representation.static Collection<Protocol>
values()
Gets known Protocol values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
TCP
Static value TCP for Protocol. -
UDP
Static value UDP for Protocol. -
ASTERISK
Static value * for Protocol.
-
-
Constructor Details
-
Protocol
public Protocol()
-
-
Method Details
-
fromString
Creates or finds a Protocol from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding Protocol.
-
values
Gets known Protocol values.- Returns:
- known Protocol values.
-