public static final class GlobalDNSSettings.Builder
extends java.lang.Object
GlobalDNSSettings
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
GlobalDNSSettings . |
Modifier and Type | Method and Description |
---|---|
GlobalDNSSettings |
build() |
GlobalDNSSettings.Builder |
setDnsServers(java.util.List<java.lang.String> dnsServers)
List of DNS servers, for a virtual network adapter with a static IP address.
|
GlobalDNSSettings.Builder |
setDnsSuffixList(java.util.List<java.lang.String> dnsSuffixList)
List of name resolution suffixes for the virtual network adapter.
|
public Builder()
GlobalDNSSettings
.public GlobalDNSSettings.Builder setDnsSuffixList(java.util.List<java.lang.String> dnsSuffixList)
null
, no DNS suffixes are set.dnsSuffixList
- New value for the property.public GlobalDNSSettings.Builder setDnsServers(java.util.List<java.lang.String> dnsServers)
null
, no DNS servers are set.dnsServers
- New value for the property.public GlobalDNSSettings build()