public static final class HostImpact.Builder
extends java.lang.Object
HostImpact.| Constructor and Description |
|---|
Builder(ComplianceStatus compliance)
Constructor with parameters for the required properties of
HostImpact. |
| Modifier and Type | Method and Description |
|---|---|
HostImpact |
build() |
HostImpact.Builder |
setErrors(java.util.List<ValidationError> errors)
This field represents the validation errors if the desired configuration
specified is not valid.
|
HostImpact.Builder |
setImpactInfo(ImpactInfo impactInfo)
This field represents the list of impact information describing the
configuration changes needed on the host to reach the desired state.
|
public Builder(ComplianceStatus compliance)
HostImpact.public HostImpact.Builder setImpactInfo(ImpactInfo impactInfo)
getCompliance() is ComplianceStatus.NON_COMPLIANT.impactInfo - New value for the property.public HostImpact.Builder setErrors(java.util.List<ValidationError> errors)
getCompliance() is ComplianceStatus.NOT_COMPUTABLE.errors - New value for the property.public HostImpact build()