Enum Class IpVersion

java.lang.Object
java.lang.Enum<IpVersion>
org.jclouds.openstack.neutron.v2.domain.IpVersion
All Implemented Interfaces:
Serializable, Comparable<IpVersion>, java.lang.constant.Constable

public enum IpVersion extends Enum<IpVersion>
  • Enum Constant Details

    • IPV4

      public static final IpVersion IPV4
    • IPV6

      public static final IpVersion IPV6
    • UNRECOGNIZED

      public static final IpVersion UNRECOGNIZED
  • Method Details

    • values

      public static IpVersion[] 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 IpVersion 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
    • version

      public int version()
    • fromValue

      public static IpVersion fromValue(String value)