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 should be 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().
If null, no additional components will be installed.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.settings.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.settings.component.public SoftwareSpec.Builder setSolutions(java.util.Map<java.lang.String,SolutionSpec> solutions)
null, no solutions will be part of 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.settings.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.settings.solution.public SoftwareSpec.Builder setHardwareSupport(HardwareSupportSpec hardwareSupport)
null or empty, no firmware compliance checking or remediation will be
done.hardwareSupport - New value for the property.public SoftwareSpec build()