public static final class CustomizationTypes.SetSpec.Builder
extends java.lang.Object
CustomizationTypes.SetSpec
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
CustomizationTypes.SetSpec . |
Modifier and Type | Method and Description |
---|---|
CustomizationTypes.SetSpec |
build() |
CustomizationTypes.SetSpec.Builder |
setName(java.lang.String name)
The name of the customization specification that has be retrieved from the
virtual center inventory and applied for the virtual machine.
|
CustomizationTypes.SetSpec.Builder |
setSpec(CustomizationSpec spec)
The customization specification that has to be applied for the virtual machine.
|
public Builder()
CustomizationTypes.SetSpec
.public CustomizationTypes.SetSpec.Builder setName(java.lang.String name)
getName()
or getSpec()
or none of them should be specified. This
property was added in vSphere API 7.0.0.
If null
and getSpec()
is also null
when executing Customization.set(java.lang.String, com.vmware.vcenter.vm.guest.CustomizationTypes.SetSpec)
operationg, then any pending
customization for the virtual machine will be cleared.name
- New value for the property.public CustomizationTypes.SetSpec.Builder setSpec(CustomizationSpec spec)
getName()
or getSpec()
or none of them should be
specified. This property was added in vSphere API 7.0.0.
If null
and getName()
is also null
when executing Customization.set(java.lang.String, com.vmware.vcenter.vm.guest.CustomizationTypes.SetSpec)
operationg, then any pending
customization for the virtual machine will be cleared.spec
- New value for the property.public CustomizationTypes.SetSpec build()