Class CreateCompliancePolicyRuleDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.fleetappsmanagement.model.CreateCompliancePolicyRuleDetails.Builder
 
- 
- Enclosing class:
- CreateCompliancePolicyRuleDetails
 
 public static class CreateCompliancePolicyRuleDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method Summary
 
- 
- 
- 
Method Detail- 
displayNamepublic 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 - Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
compliancePolicyIdpublic CreateCompliancePolicyRuleDetails.Builder compliancePolicyId(String compliancePolicyId) Unique OCID of the CompliancePolicy this CompliancePolicyRule belongs to.- Parameters:
- compliancePolicyId- the value to set
- Returns:
- this builder
 
 - 
productVersionpublic CreateCompliancePolicyRuleDetails.Builder productVersion(ProductVersionDetails productVersion) 
 - 
patchTypeIdpublic CreateCompliancePolicyRuleDetails.Builder patchTypeId(List<String> patchTypeId) PlatformConfiguration OCID for the patch type to which this CompliancePolicyRule applies.- Parameters:
- patchTypeId- the value to set
- Returns:
- this builder
 
 - 
severitypublic CreateCompliancePolicyRuleDetails.Builder severity(List<ComplianceRuleSeverity> severity) Severity to which this CompliancePolicyRule applies.- Parameters:
- severity- the value to set
- Returns:
- this builder
 
 - 
patchSelectionpublic CreateCompliancePolicyRuleDetails.Builder patchSelection(PatchSelectionDetails patchSelection) 
 - 
gracePeriodpublic 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. - Parameters:
- gracePeriod- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic 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”} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic 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”}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
buildpublic CreateCompliancePolicyRuleDetails build() 
 - 
copypublic CreateCompliancePolicyRuleDetails.Builder copy(CreateCompliancePolicyRuleDetails model) 
 
- 
 
-