TransportProtocol Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. network. models. TransportProtocol
- com.
- com.
public final class TransportProtocol
extends ExpandableStringEnum<TransportProtocol>
The transport protocol for the endpoint.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Transport |
ALL
Static value All for Transport |
static final
Transport |
TCP
Static value Tcp for Transport |
static final
Transport |
UDP
Static value Udp for Transport |
Constructor Summary
Constructor | Description |
---|---|
TransportProtocol() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Transport |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Transport |
fromString(String name)
Creates or finds a Transport |
static
Collection<Transport |
values()
Gets known Transport |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
ALL
public static final TransportProtocol ALL
Static value All for TransportProtocol.
TCP
public static final TransportProtocol TCP
Static value Tcp for TransportProtocol.
UDP
public static final TransportProtocol UDP
Static value Udp for TransportProtocol.
Constructor Details
TransportProtocol
@Deprecated
public TransportProtocol()
Deprecated
Creates a new instance of TransportProtocol value.
Method Details
fromString
public static TransportProtocol fromString(String name)
Creates or finds a TransportProtocol from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known TransportProtocol values.
Returns:
Applies to
Azure SDK for Java