public class DnsConfiguration extends Object
Constructor and Description |
---|
DnsConfiguration() |
Modifier and Type | Method and Description |
---|---|
List<String> |
nameServers()
Get the DNS servers for the container group.
|
String |
options()
Get the DNS options for the container group.
|
String |
searchDomains()
Get the DNS search domains for hostname lookup in the container group.
|
DnsConfiguration |
withNameServers(List<String> nameServers)
Set the DNS servers for the container group.
|
DnsConfiguration |
withOptions(String options)
Set the DNS options for the container group.
|
DnsConfiguration |
withSearchDomains(String searchDomains)
Set the DNS search domains for hostname lookup in the container group.
|
public List<String> nameServers()
public DnsConfiguration withNameServers(List<String> nameServers)
nameServers
- the nameServers value to setpublic String searchDomains()
public DnsConfiguration withSearchDomains(String searchDomains)
searchDomains
- the searchDomains value to setpublic String options()
public DnsConfiguration withOptions(String options)
options
- the options value to setCopyright © 2019. All rights reserved.