public static class UpdateCompliancePolicyRuleDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
public UpdateCompliancePolicyRuleDetails.Builder productVersion(ProductVersionDetails productVersion)
public UpdateCompliancePolicyRuleDetails.Builder patchType(List<String> patchType)
PlatformConfiguration OCID for the patch type to which this CompliancePolicyRule applies.
patchType
- the value to setpublic UpdateCompliancePolicyRuleDetails.Builder severity(List<ComplianceRuleSeverity> severity)
Severity to which this CompliancePolicyRule applies.
severity
- the value to setpublic UpdateCompliancePolicyRuleDetails.Builder patchSelection(PatchSelectionDetails patchSelection)
public UpdateCompliancePolicyRuleDetails.Builder gracePeriod(String gracePeriod)
Grace period in days,weeks,months or years the exemption is applicable for the rule. This enables a grace period when Fleet Application Management doesn’t report the product as noncompliant when patch is not applied.
gracePeriod
- the value to setpublic UpdateCompliancePolicyRuleDetails.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope. Exists
for cross-compatibility only. Example: {"bar-key": "value"}
freeformTags
- the value to setpublic UpdateCompliancePolicyRuleDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace.
Example: {"foo-namespace": {"bar-key": "value"}}
definedTags
- the value to setpublic UpdateCompliancePolicyRuleDetails build()
public UpdateCompliancePolicyRuleDetails.Builder copy(UpdateCompliancePolicyRuleDetails model)
Copyright © 2016–2024. All rights reserved.