public static final class AdapterMapping.Builder
extends java.lang.Object
AdapterMapping
.Constructor and Description |
---|
Builder(IPSettings adapter)
Constructor with parameters for the required properties of
AdapterMapping . |
Modifier and Type | Method and Description |
---|---|
AdapterMapping |
build() |
AdapterMapping.Builder |
setMacAddress(java.lang.String macAddress)
The MAC address of a network adapter being customized.
|
public Builder(IPSettings adapter)
AdapterMapping
.public AdapterMapping.Builder setMacAddress(java.lang.String macAddress)
null
, the customization process maps the the settings from the list
of AdapterMappings.IPSettings in the CustomizationSpec.getInterfaces()
to the virtual
machine's network adapters, in PCI slot order. The first virtual network adapter
on the PCI bus is assigned interfaces[0].IPSettings, the second adapter is
assigned interfaces[1].IPSettings, and so on.macAddress
- New value for the property.public AdapterMapping build()