Class ProtocolType


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

      • DO_NOT_USE

        public static final ProtocolType DO_NOT_USE
        Static value DoNotUse for ProtocolType.
      • ICMP

        public static final ProtocolType ICMP
        Static value Icmp for ProtocolType.
      • TCP

        public static final ProtocolType TCP
        Static value Tcp for ProtocolType.
      • UDP

        public static final ProtocolType UDP
        Static value Udp for ProtocolType.
      • GRE

        public static final ProtocolType GRE
        Static value Gre for ProtocolType.
      • ESP

        public static final ProtocolType ESP
        Static value Esp for ProtocolType.
      • AH

        public static final ProtocolType AH
        Static value Ah for ProtocolType.
      • VXLAN

        public static final ProtocolType VXLAN
        Static value Vxlan for ProtocolType.
      • ALL

        public static final ProtocolType ALL
        Static value All for ProtocolType.
    • Constructor Detail

      • ProtocolType

        public ProtocolType()
    • Method Detail

      • fromString

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