public static final class EffectiveTypes.EffectivePolicySpec.Builder
extends java.lang.Object
EffectiveTypes.EffectivePolicySpec
.Constructor and Description |
---|
Builder(EffectiveTypes.FailureAction failureAction,
EffectiveTypes.EffectivePolicySpec.PreRemediationPowerAction preRemediationPowerAction,
boolean enableQuickBoot,
boolean disableDpm,
boolean disableHac,
boolean evacuateOfflineVms)
Constructor with parameters for the required properties of
EffectiveTypes.EffectivePolicySpec . |
Modifier and Type | Method and Description |
---|---|
EffectiveTypes.EffectivePolicySpec |
build() |
EffectiveTypes.EffectivePolicySpec.Builder |
setEnforceHclValidation(java.lang.Boolean enforceHclValidation)
Enforce Hcl validation, when applicable, to prevent remediation if hardware
compatibility issues are found.
|
public Builder(EffectiveTypes.FailureAction failureAction, EffectiveTypes.EffectivePolicySpec.PreRemediationPowerAction preRemediationPowerAction, boolean enableQuickBoot, boolean disableDpm, boolean disableHac, boolean evacuateOfflineVms)
EffectiveTypes.EffectivePolicySpec
.public EffectiveTypes.EffectivePolicySpec.Builder setEnforceHclValidation(java.lang.Boolean enforceHclValidation)
enforceHclValidation
- New value for the property.public EffectiveTypes.EffectivePolicySpec build()