Class Protocol
java.lang.Object
com.azure.core.util.ExpandableStringEnum<Protocol>
com.azure.resourcemanager.machinelearning.models.Protocol
Endpoint Communication Protocol
Protocol over which communication will happen over this endpoint.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ProtocolfromString(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. -
HTTP
Static value http for Protocol.
-
-
Constructor Details
-
Protocol
Deprecated.Use thefromString(String)factory method.Creates a new instance of Protocol value.
-
-
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.
-
fromString(String)factory method.