Package com.oracle.bmc.cloudguard.model
Class DataMaskRule.Builder
- java.lang.Object
- 
- com.oracle.bmc.cloudguard.model.DataMaskRule.Builder
 
- 
- Enclosing class:
- DataMaskRule
 
 public static class DataMaskRule.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description DataMaskRulebuild()DataMaskRule.BuildercompartmentId(String compartmentId)Compartment OCID where the resource is createdDataMaskRule.Buildercopy(DataMaskRule model)DataMaskRule.BuilderdataMaskCategories(List<DataMaskCategory> dataMaskCategories)List of data mask rule categoriesDataMaskRule.BuilderdataMaskRuleStatus(DataMaskRuleStatus dataMaskRuleStatus)The current status of the data mask ruleDataMaskRule.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.DataMaskRule.Builderdescription(String description)The data mask rule descriptionDataMaskRule.BuilderdisplayName(String displayName)Data mask rule display nameDataMaskRule.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.DataMaskRule.BuilderiamGroupId(String iamGroupId)IAM Group ID associated with the data mask ruleDataMaskRule.Builderid(String id)Unique identifier that can’t be changed after creationDataMaskRule.BuilderlifecycleState(LifecycleState lifecycleState)The current lifecycle state of the data mask ruleDataMaskRule.BuilderlifecyleDetails(String lifecyleDetails)Additional details on the substate of the lifecycle state [DEPRECATE]DataMaskRule.Builderlocks(List<ResourceLock> locks)Locks associated with this resource.DataMaskRule.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.DataMaskRule.BuildertargetSelected(TargetSelected targetSelected)DataMaskRule.BuildertimeCreated(Date timeCreated)The date and time the target was created.DataMaskRule.BuildertimeUpdated(Date timeUpdated)The date and time the target was updated.
 
- 
- 
- 
Method Detail- 
idpublic DataMaskRule.Builder id(String id) Unique identifier that can’t be changed after creation- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic DataMaskRule.Builder displayName(String displayName) Data mask rule display name- Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic DataMaskRule.Builder compartmentId(String compartmentId) Compartment OCID where the resource is created- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic DataMaskRule.Builder description(String description) The data mask rule description- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
iamGroupIdpublic DataMaskRule.Builder iamGroupId(String iamGroupId) IAM Group ID associated with the data mask rule- Parameters:
- iamGroupId- the value to set
- Returns:
- this builder
 
 - 
targetSelectedpublic DataMaskRule.Builder targetSelected(TargetSelected targetSelected) 
 - 
dataMaskCategoriespublic DataMaskRule.Builder dataMaskCategories(List<DataMaskCategory> dataMaskCategories) List of data mask rule categories- Parameters:
- dataMaskCategories- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic DataMaskRule.Builder timeCreated(Date timeCreated) The date and time the target was created.Format defined by RFC3339. - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic DataMaskRule.Builder timeUpdated(Date timeUpdated) The date and time the target was updated.Format defined by RFC3339. - Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
dataMaskRuleStatuspublic DataMaskRule.Builder dataMaskRuleStatus(DataMaskRuleStatus dataMaskRuleStatus) The current status of the data mask rule- Parameters:
- dataMaskRuleStatus- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic DataMaskRule.Builder lifecycleState(LifecycleState lifecycleState) The current lifecycle state of the data mask rule- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecyleDetailspublic DataMaskRule.Builder lifecyleDetails(String lifecyleDetails) Additional details on the substate of the lifecycle state [DEPRECATE]- Parameters:
- lifecyleDetails- the value to set
- Returns:
- this builder
 
 - 
lockspublic DataMaskRule.Builder locks(List<ResourceLock> locks) Locks associated with this resource.- Parameters:
- locks- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic DataMaskRule.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”} Avoid entering confidential information. - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic DataMaskRule.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 DataMaskRule.Builder systemTags(Map<String,Map<String,Object>> systemTags) System tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud": {"free-tier-retained": "true"}} - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
buildpublic DataMaskRule build() 
 - 
copypublic DataMaskRule.Builder copy(DataMaskRule model) 
 
- 
 
-