public static final class WindowsConfiguration.Builder
extends java.lang.Object
WindowsConfiguration
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
WindowsConfiguration . |
Modifier and Type | Method and Description |
---|---|
WindowsConfiguration |
build() |
WindowsConfiguration.Builder |
setReboot(WindowsConfiguration.RebootOption reboot)
A value specifying the action that should be taken after customization.
|
WindowsConfiguration.Builder |
setSysprep(WindowsSysprep sysprep)
Customization settings like user details, administrator details, etc for the
windows guest operating system.
|
WindowsConfiguration.Builder |
setSysprepXml(java.lang.String sysprepXml)
All settings specified in a XML format.
|
public Builder()
WindowsConfiguration
.public WindowsConfiguration.Builder setReboot(WindowsConfiguration.RebootOption reboot)
null
, the WindowsConfiguration.RebootOption.REBOOT
option will
be chosen.reboot
- New value for the property.public WindowsConfiguration.Builder setSysprep(WindowsSysprep sysprep)
getSysprep()
or getSysprepXml()
must be specified. This property was added in vSphere API
7.0.0.
If null
, sysprep settings will not be applied to the windows guest
operating system.sysprep
- New value for the property.public WindowsConfiguration.Builder setSysprepXml(java.lang.String sysprepXml)
getSysprep()
or getSysprepXml()
must be
specified. This property was added in vSphere API 7.0.0.
If null
, sysprep settings will not be applied to the windows guest
operating system.sysprepXml
- New value for the property.public WindowsConfiguration build()