Enum DNSRecordType
- java.lang.Object
-
- java.lang.Enum<DNSRecordType>
-
- org.openstack4j.model.compute.ext.DNSRecordType
-
- All Implemented Interfaces:
Serializable,Comparable<DNSRecordType>
public enum DNSRecordType extends Enum<DNSRecordType>
DNS Record Types- Author:
- Jeremy Unruh
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Aa host addressCNAMEthe canonical name for an aliasHINFOhost informationMBa mailbox domain name (EXPERIMENTAL)MDa mail destination (Obsolete - use MX)MFa mail forwarder (Obsolete - use MX)MGa mail group member (EXPERIMENTAL)MINFOmailbox or mail list informationMRa mail rename domain name (EXPERIMENTAL)MXmail exchangeNSan authoritative name serverNULLa null RR (EXPERIMENTAL)PTRa domain name pointerSOAmarks the start of a zone of authorityTXTtext stringsWKSa well known service description
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DNSRecordTypeforValue(String value)Stringvalue()static DNSRecordTypevalueOf(String name)Returns the enum constant of this type with the specified name.static DNSRecordType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
A
public static final DNSRecordType A
a host address
-
NS
public static final DNSRecordType NS
an authoritative name server
-
MD
public static final DNSRecordType MD
a mail destination (Obsolete - use MX)
-
MF
public static final DNSRecordType MF
a mail forwarder (Obsolete - use MX)
-
CNAME
public static final DNSRecordType CNAME
the canonical name for an alias
-
SOA
public static final DNSRecordType SOA
marks the start of a zone of authority
-
MB
public static final DNSRecordType MB
a mailbox domain name (EXPERIMENTAL)
-
MG
public static final DNSRecordType MG
a mail group member (EXPERIMENTAL)
-
MR
public static final DNSRecordType MR
a mail rename domain name (EXPERIMENTAL)
-
NULL
public static final DNSRecordType NULL
a null RR (EXPERIMENTAL)
-
WKS
public static final DNSRecordType WKS
a well known service description
-
PTR
public static final DNSRecordType PTR
a domain name pointer
-
HINFO
public static final DNSRecordType HINFO
host information
-
MINFO
public static final DNSRecordType MINFO
mailbox or mail list information
-
MX
public static final DNSRecordType MX
mail exchange
-
TXT
public static final DNSRecordType TXT
text strings
-
-
Method Detail
-
values
public static DNSRecordType[] 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 (DNSRecordType c : DNSRecordType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DNSRecordType 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
-
forValue
public static DNSRecordType forValue(String value)
-
value
public String value()
-
-