public static final class SoftwareSpec.Builder
extends java.lang.Object
SoftwareSpec.| Constructor and Description |
|---|
Builder(BaseImageSpec baseImage)
Constructor with parameters for the required properties of
SoftwareSpec. |
| Modifier and Type | Method and Description |
|---|---|
SoftwareSpec |
build() |
SoftwareSpec.Builder |
setAddOn(AddOnSpec addOn)
OEM customization on top of given base-image.
|
SoftwareSpec.Builder |
setComponents(java.util.Map<java.lang.String,java.lang.String> components)
Additional components which are part of the software specification.
|
SoftwareSpec.Builder |
setHardwareSupport(HardwareSupportSpec hardwareSupport)
Information about the Hardware Support Package (HSP) configured in the software
specification.
|
SoftwareSpec.Builder |
setSolutions(java.util.Map<java.lang.String,SolutionSpec> solutions)
Mapping from solution identifier to the solution specification.
|
public Builder(BaseImageSpec baseImage)
SoftwareSpec.public SoftwareSpec.Builder setAddOn(AddOnSpec addOn)
null, no OEM customization will be applied.addOn - New value for the property.public SoftwareSpec.Builder setComponents(java.util.Map<java.lang.String,java.lang.String> components)
SoftwareSpec.getAddOn() and SoftwareSpec.getBaseImage(). This property was added in
vSphere API 7.0.2.0.
If null, no additional components are present in the software
specification.components - New value for the property.
When clients pass a value of this class as a parameter, the key in the property
Map must be an identifier for the resource type: com.vmware.esx.hosts.component. When methods return a value of this class as a
return value, the key in the property Map will be an
identifier for the resource type: com.vmware.esx.hosts.component.public SoftwareSpec.Builder setSolutions(java.util.Map<java.lang.String,SolutionSpec> solutions)
null, no solutions are present in the software specification.solutions - New value for the property.
When clients pass a value of this class as a parameter, the key in the property
Map must be an identifier for the resource type: com.vmware.esx.hosts.solution. When methods return a value of this class as a
return value, the key in the property Map will be an
identifier for the resource type: com.vmware.esx.hosts.solution.public SoftwareSpec.Builder setHardwareSupport(HardwareSupportSpec hardwareSupport)
null or empty, no firmware info will be part of the software
specification.hardwareSupport - New value for the property.public SoftwareSpec build()