public static final class WindowsNetworkAdapterSettings.Builder
extends java.lang.Object
WindowsNetworkAdapterSettings
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
WindowsNetworkAdapterSettings . |
Modifier and Type | Method and Description |
---|---|
WindowsNetworkAdapterSettings |
build() |
WindowsNetworkAdapterSettings.Builder |
setDnsDomain(java.lang.String dnsDomain)
A DNS domain suffix such as vmware.com.
|
WindowsNetworkAdapterSettings.Builder |
setDnsServers(java.util.List<java.lang.String> dnsServers)
A list of server IP addresses to use for DNS lookup in a Windows guest operating
system.
|
WindowsNetworkAdapterSettings.Builder |
setNetBIOSMode(WindowsNetworkAdapterSettings.NetBIOSMode netBIOSMode)
NetBIOS setting for Windows.
|
WindowsNetworkAdapterSettings.Builder |
setWinsServers(java.util.List<java.lang.String> winsServers)
List of WINS Servers to set for the Windows guest operating system.
|
public Builder()
WindowsNetworkAdapterSettings
.public WindowsNetworkAdapterSettings.Builder setDnsServers(java.util.List<java.lang.String> dnsServers)
These servers should be specified in the order of preference. If this list is not empty, and if a DHCP IP address is used, then these settings override the DHCP settings.
. This property was added in vSphere API 7.0.0.0. Ifnull
, no DNS servers are set.dnsServers
- New value for the property.public WindowsNetworkAdapterSettings.Builder setDnsDomain(java.lang.String dnsDomain)
null
, no DNS domain is set.dnsDomain
- New value for the property.public WindowsNetworkAdapterSettings.Builder setWinsServers(java.util.List<java.lang.String> winsServers)
null
, no WINS Servers are set.winsServers
- New value for the property.public WindowsNetworkAdapterSettings.Builder setNetBIOSMode(WindowsNetworkAdapterSettings.NetBIOSMode netBIOSMode)
null
, existing NetBIOS mode will be retained.netBIOSMode
- New value for the property.public WindowsNetworkAdapterSettings build()