Class PcProtocol

java.lang.Object
com.microsoft.rest.ExpandableStringEnum<PcProtocol>
com.microsoft.azure.management.network.PcProtocol

public final class PcProtocol extends com.microsoft.rest.ExpandableStringEnum<PcProtocol>
Defines values for PcProtocol.
  • 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
     
  • Method Summary

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

    Methods inherited from class com.microsoft.rest.ExpandableStringEnum

    equals, fromString, hashCode, toString, values, withNameValue

    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

    • PcProtocol

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