@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.676Z") @Stability(value=Stable) public enum RecordType extends Enum<RecordType>
| Enum Constant and Description |
|---|
A
route traffic to a resource, such as a web server, using an IPv4 address in dotted decimal notation.
|
AAAA
route traffic to a resource, such as a web server, using an IPv6 address in colon-separated hexadecimal format.
|
CAA
A CAA record specifies which certificate authorities (CAs) are allowed to issue certificates for a domain or subdomain.
|
CNAME
A CNAME record maps DNS queries for the name of the current record, such as acme.example.com, to another domain (example.com or example.net) or subdomain (acme.example.com or zenith.example.org).
|
DS
A delegation signer (DS) record refers a zone key for a delegated subdomain zone.
|
MX
An MX record specifies the names of your mail servers and, if you have two or more mail servers, the priority order.
|
NAPTR
A Name Authority Pointer (NAPTR) is a type of record that is used by Dynamic Delegation Discovery System (DDDS) applications to convert one value to another or to replace one value with another.
|
NS
An NS record identifies the name servers for the hosted zone.
|
PTR
A PTR record maps an IP address to the corresponding domain name.
|
SOA
A start of authority (SOA) record provides information about a domain and the corresponding Amazon Route 53 hosted zone.
|
SPF
SPF records were formerly used to verify the identity of the sender of email messages.
|
SRV
An SRV record Value element consists of four space-separated values.
|
TXT
A TXT record contains one or more strings that are enclosed in double quotation marks (").
|
| Modifier and Type | Method and Description |
|---|---|
static RecordType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RecordType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Stability(value=Stable) public static final RecordType A
@Stability(value=Stable) public static final RecordType AAAA
@Stability(value=Stable) public static final RecordType CAA
@Stability(value=Stable) public static final RecordType CNAME
@Stability(value=Stable) public static final RecordType DS
@Stability(value=Stable) public static final RecordType MX
@Stability(value=Stable) public static final RecordType NAPTR
For example, one common use is to convert phone numbers into SIP URIs.
@Stability(value=Stable) public static final RecordType NS
@Stability(value=Stable) public static final RecordType PTR
@Stability(value=Stable) public static final RecordType SOA
@Stability(value=Stable) public static final RecordType SPF
Instead of an SPF record, we recommend that you create a TXT record that contains the applicable value.
@Stability(value=Stable) public static final RecordType SRV
The first three values are decimal numbers representing priority, weight, and port. The fourth value is a domain name.
@Stability(value=Stable) public static final RecordType TXT
public static RecordType[] values()
for (RecordType c : RecordType.values()) System.out.println(c);
public static RecordType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2022. All rights reserved.