Class CompliancePolicyRuleSummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.fleetappsmanagement.model.CompliancePolicyRuleSummary.Builder
 
- 
- Enclosing class:
- CompliancePolicyRuleSummary
 
 public static class CompliancePolicyRuleSummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CompliancePolicyRuleSummarybuild()CompliancePolicyRuleSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment the CompliancePolicyRule belongs to.CompliancePolicyRuleSummary.BuildercompliancePolicyId(String compliancePolicyId)Unique OCID of the CompliancePolicy.CompliancePolicyRuleSummary.Buildercopy(CompliancePolicyRuleSummary model)CompliancePolicyRuleSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CompliancePolicyRuleSummary.BuilderdisplayName(String displayName)A user-friendly name.CompliancePolicyRuleSummary.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.CompliancePolicyRuleSummary.BuildergracePeriod(String gracePeriod)Grace period in days,weeks,months or years the exemption is applicable for the rule.CompliancePolicyRuleSummary.Builderid(String id)Unique OCID of the CompliancePolicyRule.CompliancePolicyRuleSummary.BuilderlifecycleDetails(String lifecycleDetails)A message that describes the current state of the CompliancePolicyRule in more detail.CompliancePolicyRuleSummary.BuilderlifecycleState(CompliancePolicyRule.LifecycleState lifecycleState)The current state of the CompliancePolicyRule.CompliancePolicyRuleSummary.BuilderpatchSelection(PatchSelectionDetails patchSelection)CompliancePolicyRuleSummary.BuilderpatchTypeId(List<String> patchTypeId)PlatformConfiguration OCID for the patch type to which this CompliancePolicyRule applies.CompliancePolicyRuleSummary.BuilderproductVersion(ProductVersionDetails productVersion)CompliancePolicyRuleSummary.Builderseverity(List<ComplianceRuleSeverity> severity)Severity to which this CompliancePolicyRule applies.CompliancePolicyRuleSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.CompliancePolicyRuleSummary.BuildertimeCreated(Date timeCreated)The date and time the CompliancePolicyRule was created, in the format defined by RFC 3339.CompliancePolicyRuleSummary.BuildertimeUpdated(Date timeUpdated)The date and time the CompliancePolicyRule was updated, in the format defined by RFC 3339.
 
- 
- 
- 
Method Detail- 
idpublic CompliancePolicyRuleSummary.Builder id(String id) Unique OCID of the CompliancePolicyRule.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic CompliancePolicyRuleSummary.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 CompliancePolicyRuleSummary.Builder compliancePolicyId(String compliancePolicyId) Unique OCID of the CompliancePolicy.- Parameters:
- compliancePolicyId- the value to set
- Returns:
- this builder
 
 - 
productVersionpublic CompliancePolicyRuleSummary.Builder productVersion(ProductVersionDetails productVersion) 
 - 
patchTypeIdpublic CompliancePolicyRuleSummary.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 CompliancePolicyRuleSummary.Builder severity(List<ComplianceRuleSeverity> severity) Severity to which this CompliancePolicyRule applies.- Parameters:
- severity- the value to set
- Returns:
- this builder
 
 - 
patchSelectionpublic CompliancePolicyRuleSummary.Builder patchSelection(PatchSelectionDetails patchSelection) 
 - 
gracePeriodpublic CompliancePolicyRuleSummary.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
 
 - 
compartmentIdpublic CompliancePolicyRuleSummary.Builder compartmentId(String compartmentId) The OCID of the compartment the CompliancePolicyRule belongs to.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic CompliancePolicyRuleSummary.Builder timeCreated(Date timeCreated) The date and time the CompliancePolicyRule was created, in the format defined by RFC 3339.Example: 2016-08-25T21:10:29.600Z - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic CompliancePolicyRuleSummary.Builder timeUpdated(Date timeUpdated) The date and time the CompliancePolicyRule was updated, in the format defined by RFC 3339.Example: 2016-08-25T21:10:29.600Z - Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic CompliancePolicyRuleSummary.Builder lifecycleState(CompliancePolicyRule.LifecycleState lifecycleState) The current state of the CompliancePolicyRule.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic CompliancePolicyRuleSummary.Builder lifecycleDetails(String lifecycleDetails) A message that describes the current state of the CompliancePolicyRule in more detail.For example, can be used to provide actionable information for a resource in the Failed state. - Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic CompliancePolicyRuleSummary.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 CompliancePolicyRuleSummary.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
 
 - 
systemTagspublic CompliancePolicyRuleSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags) System tags for this resource.Each key is predefined and scoped to a namespace. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}} - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
buildpublic CompliancePolicyRuleSummary build() 
 - 
copypublic CompliancePolicyRuleSummary.Builder copy(CompliancePolicyRuleSummary model) 
 
- 
 
-