PcProtocol Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. network. models. PcProtocol
- com.
- com.
public final class PcProtocol
extends ExpandableStringEnum<PcProtocol>
Protocol to be filtered on.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Pc |
ANY
Any. |
|
static final
Pc |
TCP
TCP. |
|
static final
Pc |
UDP
UDP. |
Constructor Summary
| Constructor | Description |
|---|---|
| PcProtocol() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Pc |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Pc |
fromString(String name)
Creates or finds a Pc |
|
static
Collection<Pc |
values()
Gets known Pc |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
ANY
public static final PcProtocol ANY
Any.
TCP
public static final PcProtocol TCP
TCP.
UDP
public static final PcProtocol UDP
UDP.
Constructor Details
PcProtocol
@Deprecated
public PcProtocol()
Deprecated
Creates a new instance of PcProtocol value.
Method Details
fromString
public static PcProtocol fromString(String name)
Creates or finds a PcProtocol from its string representation.
Parameters:
Returns:
values
public static Collection<PcProtocol> values()
Gets known PcProtocol values.
Returns: