public static final class HostCompliance.Builder
extends java.lang.Object
HostCompliance
.Constructor and Description |
---|
Builder(ComplianceImpact impact,
ComplianceStatus status,
Notifications notifications,
java.util.Calendar scanTime,
BaseImageCompliance baseImage,
AddOnCompliance addOn,
java.util.Map<java.lang.String,ComponentCompliance> components,
java.util.Map<java.lang.String,SolutionCompliance> solutions)
Constructor with parameters for the required properties of
HostCompliance . |
Modifier and Type | Method and Description |
---|---|
HostCompliance |
build() |
HostCompliance.Builder |
setCommit(java.lang.String commit)
Identifier of the commit on which the scan is run to generate this result.
|
HostCompliance.Builder |
setHardwareSupport(java.util.Map<java.lang.String,HardwareSupportPackageCompliance> hardwareSupport)
Compliance result for hardware support (both Hardware Support Package or HSP and
individual hardware module firmware) for every HSP configured, keyed by Hardware
Support Manager (HSM).
|
public Builder(ComplianceImpact impact, ComplianceStatus status, Notifications notifications, java.util.Calendar scanTime, BaseImageCompliance baseImage, AddOnCompliance addOn, java.util.Map<java.lang.String,ComponentCompliance> components, java.util.Map<java.lang.String,SolutionCompliance> solutions)
HostCompliance
.public HostCompliance.Builder setCommit(java.lang.String commit)
null
if operation is performed on a working copy document.commit
- New value for the property.
When clients pass a value of this class as a parameter, the property must be an
identifier for the resource type: com.vmware.esx.settings.commit
. When
methods return a value of this class as a return value, the property will be an
identifier for the resource type: com.vmware.esx.settings.commit
.public HostCompliance.Builder setHardwareSupport(java.util.Map<java.lang.String,HardwareSupportPackageCompliance> hardwareSupport)
null
or contain an empty map if operation is
performed on an image whose SoftwareSpec
does not have a value for its
hardwareSupport
property.hardwareSupport
- 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.setting.hardware_support.manager
. 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.setting.hardware_support.manager
.public HostCompliance build()