public static interface DnsConfig.Builder extends CopyableBuilder<DnsConfig.Builder,DnsConfig>
Modifier and Type | Method and Description |
---|---|
DnsConfig.Builder |
dnsRecords(Collection<DnsRecord> dnsRecords)
An array that contains one
DnsRecord object for each resource record set that you want Amazon
Route 53 to create when you register an instance. |
DnsConfig.Builder |
dnsRecords(Consumer<DnsRecord.Builder>... dnsRecords)
An array that contains one
DnsRecord object for each resource record set that you want Amazon
Route 53 to create when you register an instance. |
DnsConfig.Builder |
dnsRecords(DnsRecord... dnsRecords)
An array that contains one
DnsRecord object for each resource record set that you want Amazon
Route 53 to create when you register an instance. |
DnsConfig.Builder |
namespaceId(String namespaceId)
The ID of the namespace to use for DNS configuration.
|
copy
applyMutation, build
DnsConfig.Builder namespaceId(String namespaceId)
The ID of the namespace to use for DNS configuration.
namespaceId
- The ID of the namespace to use for DNS configuration.DnsConfig.Builder dnsRecords(Collection<DnsRecord> dnsRecords)
An array that contains one DnsRecord
object for each resource record set that you want Amazon
Route 53 to create when you register an instance.
dnsRecords
- An array that contains one DnsRecord
object for each resource record set that you want
Amazon Route 53 to create when you register an instance.DnsConfig.Builder dnsRecords(DnsRecord... dnsRecords)
An array that contains one DnsRecord
object for each resource record set that you want Amazon
Route 53 to create when you register an instance.
dnsRecords
- An array that contains one DnsRecord
object for each resource record set that you want
Amazon Route 53 to create when you register an instance.DnsConfig.Builder dnsRecords(Consumer<DnsRecord.Builder>... dnsRecords)
An array that contains one DnsRecord
object for each resource record set that you want Amazon
Route 53 to create when you register an instance.
List.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #dnsRecords(List)
.dnsRecords
- a consumer that will call methods on List.Builder
#dnsRecords(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.