Class UpdateCompliancePolicyRuleDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.fleetappsmanagement.model.UpdateCompliancePolicyRuleDetails.Builder
-
- Enclosing class:
- UpdateCompliancePolicyRuleDetails
public static class UpdateCompliancePolicyRuleDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
productVersion
public UpdateCompliancePolicyRuleDetails.Builder productVersion(ProductVersionDetails productVersion)
-
patchType
public UpdateCompliancePolicyRuleDetails.Builder patchType(List<String> patchType)
PlatformConfiguration OCID for the patch type to which this CompliancePolicyRule applies.- Parameters:
patchType
- the value to set- Returns:
- this builder
-
severity
public UpdateCompliancePolicyRuleDetails.Builder severity(List<ComplianceRuleSeverity> severity)
Severity to which this CompliancePolicyRule applies.- Parameters:
severity
- the value to set- Returns:
- this builder
-
patchSelection
public UpdateCompliancePolicyRuleDetails.Builder patchSelection(PatchSelectionDetails patchSelection)
-
gracePeriod
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.
- Parameters:
gracePeriod
- the value to set- Returns:
- this builder
-
freeformTags
public 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”}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public 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”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
build
public UpdateCompliancePolicyRuleDetails build()
-
copy
public UpdateCompliancePolicyRuleDetails.Builder copy(UpdateCompliancePolicyRuleDetails model)
-
-