public static final class InterfacesTypes.Info.Builder
extends java.lang.Object
InterfacesTypes.Info
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
InterfacesTypes.Info . |
Modifier and Type | Method and Description |
---|---|
InterfacesTypes.Info |
build() |
InterfacesTypes.Info.Builder |
setDns(DnsConfigInfo dns)
DNS configuration of the adapter.
|
InterfacesTypes.Info.Builder |
setDnsValues(DnsAssignedValues dnsValues)
Client DNS values.
|
InterfacesTypes.Info.Builder |
setIp(InterfacesTypes.IpConfigInfo ip)
IP configuration settings of the adapter.
|
InterfacesTypes.Info.Builder |
setMacAddress(java.lang.String macAddress)
MAC address of the adapter.
|
InterfacesTypes.Info.Builder |
setNic(java.lang.String nic)
Link to the corresponding virtual device.
|
InterfacesTypes.Info.Builder |
setWinsServers(java.util.List<java.lang.String> winsServers)
The IP addresses of any WINS name servers for the adapter.
|
public Builder()
InterfacesTypes.Info
.public InterfacesTypes.Info.Builder setDnsValues(DnsAssignedValues dnsValues)
null
no DNS assigned value exists.dnsValues
- New value for the property.public InterfacesTypes.Info.Builder setMacAddress(java.lang.String macAddress)
null
then not supported by the Guest OS.macAddress
- New value for the property.public InterfacesTypes.Info.Builder setDns(DnsConfigInfo dns)
NetworkingTypes.Info.getDns()
for system wide
settings. This property was added in vSphere API 7.0.0.0.
If null
then not assigned by the Guest OS.dns
- New value for the property.public InterfacesTypes.Info.Builder setIp(InterfacesTypes.IpConfigInfo ip)
null
then not supported by the Guest OS.ip
- New value for the property.public InterfacesTypes.Info.Builder setWinsServers(java.util.List<java.lang.String> winsServers)
null
then not supported by the Guest OS.winsServers
- New value for the property.public InterfacesTypes.Info.Builder setNic(java.lang.String nic)
null
then the interface is not backed by a virtual device.nic
- New value for the property.
When clients pass a value of this class as a parameter, the property must be an
identifier for the resource type: com.vmware.vcenter.vm.hardware.Ethernet
. When methods return a value of this
class as a return value, the property will be an identifier for the resource
type: com.vmware.vcenter.vm.hardware.Ethernet
.public InterfacesTypes.Info build()