Class CompliancePolicySummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.fleetappsmanagement.model.CompliancePolicySummary.Builder
 
- 
- Enclosing class:
- CompliancePolicySummary
 
 public static class CompliancePolicySummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CompliancePolicySummarybuild()CompliancePolicySummary.BuildercompartmentId(String compartmentId)The OCID of the compartment the CompliancePolicy belongs to.CompliancePolicySummary.Buildercopy(CompliancePolicySummary model)CompliancePolicySummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CompliancePolicySummary.BuilderdisplayName(String displayName)Display name for the CompliancePolicy.CompliancePolicySummary.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.CompliancePolicySummary.Builderid(String id)The OCID of the CompliancePolicy.CompliancePolicySummary.BuilderlifecycleDetails(String lifecycleDetails)A message that describes the current state of the CompliancePolicy in more detail.CompliancePolicySummary.BuilderlifecycleState(CompliancePolicy.LifecycleState lifecycleState)The current state of the CompliancePolicy.CompliancePolicySummary.BuilderproductId(String productId)platformConfiguration OCID corresponding to the Product.CompliancePolicySummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.CompliancePolicySummary.BuildertimeCreated(Date timeCreated)The date and time the CompliancePolicy was created, in the format defined by RFC 3339.CompliancePolicySummary.BuildertimeUpdated(Date timeUpdated)The date and time the CompliancePolicy was updated, in the format defined by RFC 3339.CompliancePolicySummary.Buildertype(CompliancePolicy.Type type)The type of the Compliance Policy.
 
- 
- 
- 
Method Detail- 
idpublic CompliancePolicySummary.Builder id(String id) The OCID of the CompliancePolicy.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic CompliancePolicySummary.Builder displayName(String displayName) Display name for the CompliancePolicy.- Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
productIdpublic CompliancePolicySummary.Builder productId(String productId) platformConfiguration OCID corresponding to the Product.- Parameters:
- productId- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic CompliancePolicySummary.Builder compartmentId(String compartmentId) The OCID of the compartment the CompliancePolicy belongs to.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
typepublic CompliancePolicySummary.Builder type(CompliancePolicy.Type type) The type of the Compliance Policy.- Parameters:
- type- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic CompliancePolicySummary.Builder timeCreated(Date timeCreated) The date and time the CompliancePolicy 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 CompliancePolicySummary.Builder timeUpdated(Date timeUpdated) The date and time the CompliancePolicy 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 CompliancePolicySummary.Builder lifecycleState(CompliancePolicy.LifecycleState lifecycleState) The current state of the CompliancePolicy.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic CompliancePolicySummary.Builder lifecycleDetails(String lifecycleDetails) A message that describes the current state of the CompliancePolicy 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 CompliancePolicySummary.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 CompliancePolicySummary.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 CompliancePolicySummary.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 CompliancePolicySummary build() 
 - 
copypublic CompliancePolicySummary.Builder copy(CompliancePolicySummary model) 
 
- 
 
-