java.lang.Object
com.azure.core.util.ExpandableStringEnum<Protocol>
com.azure.resourcemanager.orbital.models.Protocol

public final class Protocol extends com.azure.core.util.ExpandableStringEnum<Protocol>
Defines values for Protocol.
  • Field Summary

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

    Constructors
    Constructor
    Description
     
  • Method Summary

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

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

    equals, fromString, hashCode, toString, values

    Methods inherited from class java.lang.Object

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

    • TCP

      public static final Protocol TCP
      Static value TCP for Protocol.
    • UDP

      public static final Protocol UDP
      Static value UDP for Protocol.
  • Constructor Details

    • Protocol

      public Protocol()
  • Method Details

    • fromString

      public static Protocol fromString(String name)
      Creates or finds a Protocol from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding Protocol.
    • values

      public static Collection<Protocol> values()
      Gets known Protocol values.
      Returns:
      known Protocol values.