public static interface DnsRecord.Builder extends CopyableBuilder<DnsRecord.Builder,DnsRecord>
| Modifier and Type | Method and Description |
|---|---|
DnsRecord.Builder |
ttl(Long ttl)
The amount of time, in seconds, that you want DNS resolvers to cache the settings for this resource record
set.
|
DnsRecord.Builder |
type(RecordType type)
The type of the resource, which indicates the value that Amazon Route 53 returns in response to DNS queries.
|
DnsRecord.Builder |
type(String type)
The type of the resource, which indicates the value that Amazon Route 53 returns in response to DNS queries.
|
copyapply, buildDnsRecord.Builder type(String type)
The type of the resource, which indicates the value that Amazon Route 53 returns in response to DNS queries. The following values are supported:
A: Amazon Route 53 returns the IP address of the resource in IPv4 format, such as 192.0.2.44.
AAAA: Amazon Route 53 returns the IP address of the resource in IPv6 format, such as 2001:0db8:85a3:0000:0000:abcd:0001:2345.
SRV: Amazon Route 53 returns the value for an SRV record. The value for an SRV record uses the following template, which can't be changed:
priority weight port resource-record-set-name
The values of priority and weight are both set to 1. The value of port comes from
the value that you specify for Port when you submit a RegisterInstance request.
type - The type of the resource, which indicates the value that Amazon Route 53 returns in response to DNS
queries. The following values are supported:
A: Amazon Route 53 returns the IP address of the resource in IPv4 format, such as 192.0.2.44.
AAAA: Amazon Route 53 returns the IP address of the resource in IPv6 format, such as 2001:0db8:85a3:0000:0000:abcd:0001:2345.
SRV: Amazon Route 53 returns the value for an SRV record. The value for an SRV record uses the following template, which can't be changed:
priority weight port resource-record-set-name
The values of priority and weight are both set to 1. The value of port comes
from the value that you specify for Port when you submit a RegisterInstance
request.
RecordType,
RecordTypeDnsRecord.Builder type(RecordType type)
The type of the resource, which indicates the value that Amazon Route 53 returns in response to DNS queries. The following values are supported:
A: Amazon Route 53 returns the IP address of the resource in IPv4 format, such as 192.0.2.44.
AAAA: Amazon Route 53 returns the IP address of the resource in IPv6 format, such as 2001:0db8:85a3:0000:0000:abcd:0001:2345.
SRV: Amazon Route 53 returns the value for an SRV record. The value for an SRV record uses the following template, which can't be changed:
priority weight port resource-record-set-name
The values of priority and weight are both set to 1. The value of port comes from
the value that you specify for Port when you submit a RegisterInstance request.
type - The type of the resource, which indicates the value that Amazon Route 53 returns in response to DNS
queries. The following values are supported:
A: Amazon Route 53 returns the IP address of the resource in IPv4 format, such as 192.0.2.44.
AAAA: Amazon Route 53 returns the IP address of the resource in IPv6 format, such as 2001:0db8:85a3:0000:0000:abcd:0001:2345.
SRV: Amazon Route 53 returns the value for an SRV record. The value for an SRV record uses the following template, which can't be changed:
priority weight port resource-record-set-name
The values of priority and weight are both set to 1. The value of port comes
from the value that you specify for Port when you submit a RegisterInstance
request.
RecordType,
RecordTypeDnsRecord.Builder ttl(Long ttl)
The amount of time, in seconds, that you want DNS resolvers to cache the settings for this resource record set.
ttl - The amount of time, in seconds, that you want DNS resolvers to cache the settings for this resource
record set.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.