Enum Class ProtocolType

java.lang.Object
java.lang.Enum<ProtocolType>
com.microsoft.graph.security.models.ProtocolType
All Implemented Interfaces:
Serializable, Comparable<ProtocolType>, Constable

public enum ProtocolType extends Enum<ProtocolType>
The Enum Protocol Type.
  • Enum Constant Details

    • TCP

      public static final ProtocolType TCP
      tcp
    • UDP

      public static final ProtocolType UDP
      udp
    • UNKNOWN_FUTURE_VALUE

      public static final ProtocolType UNKNOWN_FUTURE_VALUE
      unknown Future Value
    • UNEXPECTED_VALUE

      public static final ProtocolType UNEXPECTED_VALUE
      For ProtocolType values that were not expected from the service
  • Method Details

    • values

      public static ProtocolType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ProtocolType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null