Enum Record.Type
- java.lang.Object
-
- java.lang.Enum<Record.Type>
-
- com.yahoo.vespa.hosted.controller.api.integration.dns.Record.Type
-
- All Implemented Interfaces:
Serializable,Comparable<Record.Type>
- Enclosing class:
- Record
public static enum Record.Type extends Enum<Record.Type>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Record.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static Record.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
A
public static final Record.Type A
-
AAAA
public static final Record.Type AAAA
-
ALIAS
public static final Record.Type ALIAS
-
CNAME
public static final Record.Type CNAME
-
MX
public static final Record.Type MX
-
NS
public static final Record.Type NS
-
PTR
public static final Record.Type PTR
-
SOA
public static final Record.Type SOA
-
SRV
public static final Record.Type SRV
-
TXT
public static final Record.Type TXT
-
SPF
public static final Record.Type SPF
-
NAPTR
public static final Record.Type NAPTR
-
CAA
public static final Record.Type CAA
-
-
Method Detail
-
values
public static Record.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Record.Type c : Record.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Record.Type valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
-