public static final class HostCheckComplianceResult.Builder
extends java.lang.Object
HostCheckComplianceResult
.Constructor and Description |
---|
Builder(boolean compliant)
Constructor with parameters for the required properties of
HostCheckComplianceResult . |
Modifier and Type | Method and Description |
---|---|
HostCheckComplianceResult |
build() |
HostCheckComplianceResult.Builder |
setAdds(java.util.List<ComplianceValue> adds)
List of configuration drifts represented by
ComplianceValue . |
HostCheckComplianceResult.Builder |
setDeletes(java.util.List<ComplianceValue> deletes)
List of configuration drifts represented by
ComplianceValue . |
HostCheckComplianceResult.Builder |
setSets(java.util.List<ComplianceValue> sets)
List of configuration drifts represented by
ComplianceValue . |
public Builder(boolean compliant)
HostCheckComplianceResult
.public HostCheckComplianceResult.Builder setSets(java.util.List<ComplianceValue> sets)
ComplianceValue
. Each describing
a configuration whose value on ESXi host is different to that in the desired
document.
This field is null
if the HostCheckComplianceResult.getCompliant()
is set to true.sets
- New value for the property.public HostCheckComplianceResult.Builder setAdds(java.util.List<ComplianceValue> adds)
ComplianceValue
. Each describing
a configuration that is present in the desired document but absent on the ESXi
host.
This field is null
if the HostCheckComplianceResult.getCompliant()
is set to true or if there are no additions required to make the ESXi host
compliant.adds
- New value for the property.public HostCheckComplianceResult.Builder setDeletes(java.util.List<ComplianceValue> deletes)
ComplianceValue
. Each describing
a configuration that is present on the ESXi host but absent in the desired
document.
This field is null
if the HostCheckComplianceResult.getCompliant()
is set to true or if there are no deletions required to make the ESXi host
compliant.deletes
- New value for the property.public HostCheckComplianceResult build()