Class PcProtocol

java.lang.Object
com.azure.core.util.ExpandableStringEnum<PcProtocol>
com.azure.resourcemanager.network.models.PcProtocol
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

public final class PcProtocol extends com.azure.core.util.ExpandableStringEnum<PcProtocol>
Protocol to be filtered on.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final PcProtocol
    Static value Any for PcProtocol.
    static final PcProtocol
    Static value TCP for PcProtocol.
    static final PcProtocol
    Static value UDP for PcProtocol.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
    Use the fromString(String) factory method.
  • Method Summary

    Modifier and Type
    Method
    Description
    static PcProtocol
    Creates or finds a PcProtocol from its string representation.
    Gets known PcProtocol values.

    Methods inherited from class com.azure.core.util.ExpandableStringEnum

    equals, fromString, getValue, hashCode, toString, values

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • 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.
  • Constructor Details

  • Method Details

    • 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()
      Gets known PcProtocol values.
      Returns:
      known PcProtocol values.