Package com.azure.compute.batch.models
Class InboundEndpointProtocol
java.lang.Object
com.azure.core.util.ExpandableStringEnum<InboundEndpointProtocol>
com.azure.compute.batch.models.InboundEndpointProtocol
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class InboundEndpointProtocol
extends com.azure.core.util.ExpandableStringEnum<InboundEndpointProtocol>
InboundEndpointProtocol enums.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final InboundEndpointProtocol
Use TCP for the endpoint.static final InboundEndpointProtocol
Use UDP for the endpoint. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic InboundEndpointProtocol
fromString
(String name) Creates or finds a InboundEndpointProtocol from its string representation.static Collection
<InboundEndpointProtocol> values()
Gets known InboundEndpointProtocol values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
TCP
Use TCP for the endpoint. -
UDP
Use UDP for the endpoint.
-
-
Constructor Details
-
InboundEndpointProtocol
Deprecated.Use thefromString(String)
factory method.Creates a new instance of InboundEndpointProtocol value.
-
-
Method Details
-
fromString
Creates or finds a InboundEndpointProtocol from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding InboundEndpointProtocol.
-
values
Gets known InboundEndpointProtocol values.- Returns:
- known InboundEndpointProtocol values.
-
fromString(String)
factory method.