public static class CreateContainerDnsConfigDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateContainerDnsConfigDetails |
build() |
CreateContainerDnsConfigDetails.Builder |
copy(CreateContainerDnsConfigDetails model) |
CreateContainerDnsConfigDetails.Builder |
nameservers(List<String> nameservers)
IP address of a name server that the resolver should query, either an IPv4 address (in
dot notation), or an IPv6 address in colon (and possibly dot) notation.
|
CreateContainerDnsConfigDetails.Builder |
options(List<String> options)
Options allows certain internal resolver variables to be modified.
|
CreateContainerDnsConfigDetails.Builder |
searches(List<String> searches)
Search list for host-name lookup.
|
public CreateContainerDnsConfigDetails.Builder nameservers(List<String> nameservers)
IP address of a name server that the resolver should query, either an IPv4 address (in dot notation), or an IPv6 address in colon (and possibly dot) notation. If null, uses nameservers from subnet dhcpDnsOptions.
nameservers
- the value to setpublic CreateContainerDnsConfigDetails.Builder searches(List<String> searches)
Search list for host-name lookup. If null, we will use searches from subnet dhcpDnsOptios.
searches
- the value to setpublic CreateContainerDnsConfigDetails.Builder options(List<String> options)
Options allows certain internal resolver variables to be modified. Options are a list of objects in https://man7.org/linux/man-pages/man5/resolv.conf.5.html. Examples: [“ndots:n”, “edns0”].
options
- the value to setpublic CreateContainerDnsConfigDetails build()
public CreateContainerDnsConfigDetails.Builder copy(CreateContainerDnsConfigDetails model)
Copyright © 2016–2024. All rights reserved.