Class PcProtocol
- java.lang.Object
-
- com.azure.core.util.ExpandableStringEnum<PcProtocol>
-
- com.azure.resourcemanager.network.models.PcProtocol
-
public final class PcProtocol extends com.azure.core.util.ExpandableStringEnum<PcProtocol>
Defines values for PcProtocol.
-
-
Field Summary
Fields Modifier and Type Field Description static PcProtocolANYStatic value Any for PcProtocol.static PcProtocolTCPStatic value TCP for PcProtocol.static PcProtocolUDPStatic value UDP for PcProtocol.
-
Constructor Summary
Constructors Constructor Description PcProtocol()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PcProtocolfromString(String name)Creates or finds a PcProtocol from its string representation.static Collection<PcProtocol>values()
-
-
-
Field Detail
-
TCP
public static final PcProtocol TCP
Static value TCP for PcProtocol.
-
UDP
public static final PcProtocol UDP
Static value UDP for PcProtocol.
-
ANY
public static final PcProtocol ANY
Static value Any for PcProtocol.
-
-
Method Detail
-
fromString
public static PcProtocol fromString(String name)
Creates or finds a PcProtocol from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding PcProtocol.
-
values
public static Collection<PcProtocol> values()
- Returns:
- known PcProtocol values.
-
-