public static class CreateCompliancePolicyRuleDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
public CreateCompliancePolicyRuleDetails.Builder displayName(String displayName)
A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
Example: My new resource
displayName
- the value to setpublic CreateCompliancePolicyRuleDetails.Builder compliancePolicyId(String compliancePolicyId)
Unique OCID of the CompliancePolicy this CompliancePolicyRule belongs to.
compliancePolicyId
- the value to setpublic CreateCompliancePolicyRuleDetails.Builder productVersion(ProductVersionDetails productVersion)
public CreateCompliancePolicyRuleDetails.Builder patchType(List<String> patchType)
PlatformConfiguration OCID for the patch type to which this CompliancePolicyRule applies.
patchType
- the value to setpublic CreateCompliancePolicyRuleDetails.Builder severity(List<ComplianceRuleSeverity> severity)
Severity to which this CompliancePolicyRule applies.
severity
- the value to setpublic CreateCompliancePolicyRuleDetails.Builder patchSelection(PatchSelectionDetails patchSelection)
public CreateCompliancePolicyRuleDetails.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 CreateCompliancePolicyRuleDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment the CompliancePolicyRule belongs to.
compartmentId
- the value to setpublic CreateCompliancePolicyRuleDetails.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 CreateCompliancePolicyRuleDetails.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 CreateCompliancePolicyRuleDetails build()
public CreateCompliancePolicyRuleDetails.Builder copy(CreateCompliancePolicyRuleDetails model)
Copyright © 2016–2024. All rights reserved.