Package com.verisign.epp.codec.ttl.v1_0
Enum Class RRecType
- All Implemented Interfaces:
Serializable,Comparable<RRecType>,Constable
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:NSDSDNAMEAAAAACUSTOM- Custom resource record that must be defined using a separate attribute
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic RRecTypegetRRecType(String aString) Gets theRRecTypeenumerated instance given the matching string.toString()Convert the enumeratedRRecTypeinstance value to aString.static RRecTypeReturns the enum constant of this class with the specified name.static RRecType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NS
-
DS
-
DNAME
-
A
-
AAAA
-
CUSTOM
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getRRecType
Gets theRRecTypeenumerated instance given the matching string.- Parameters:
aString-RRecTypeenumerated string to convert to an enumeratedRRecTypeinstance.- Returns:
- Enumerated
RRecTypevalue matching theString. - Throws:
InvalidParameterException- IfaStringdoes not match an enumeratedRRecTypestring value.
-
toString
Convert the enumeratedRRecTypeinstance value to aString.
-