Enum Class RRecType

java.lang.Object
java.lang.Enum<RRecType>
com.verisign.epp.codec.ttl.v1_0.RRecType
All Implemented Interfaces:
Serializable, Comparable<RRecType>, Constable

public enum RRecType extends Enum<RRecType>
RRecType specifies the DNS resource record type to which the TTL value pertains. This attribute MUST have one of the following values: "NS", "DS", "DNAME", "A", "AAAA" or "custom" , which include the following possible resource record values:
  • NS
  • DS
  • DNAME
  • A
  • AAAA
  • CUSTOM - Custom resource record that must be defined using a separate attribute
  • Enum Constant Details

  • Method Details

    • values

      public static RRecType[] 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 RRecType 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
    • getRRecType

      public static RRecType getRRecType(String aString)
      Gets the RRecType enumerated instance given the matching string.
      Parameters:
      aString - RRecType enumerated string to convert to an enumerated RRecType instance.
      Returns:
      Enumerated RRecType value matching the String.
      Throws:
      InvalidParameterException - If aString does not match an enumerated RRecType string value.
    • toString

      public String toString()
      Convert the enumerated RRecType instance value to a String.
      Overrides:
      toString in class Enum<RRecType>