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 Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataMaskRule
build()
DataMaskRule.Builder
compartmentId(String compartmentId)
Compartment OCID where the resource is createdDataMaskRule.Builder
copy(DataMaskRule model)
DataMaskRule.Builder
dataMaskCategories(List<DataMaskCategory> dataMaskCategories)
List of data mask rule categoriesDataMaskRule.Builder
dataMaskRuleStatus(DataMaskRuleStatus dataMaskRuleStatus)
The current status of the data mask ruleDataMaskRule.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.DataMaskRule.Builder
description(String description)
The data mask rule descriptionDataMaskRule.Builder
displayName(String displayName)
Data mask rule display nameDataMaskRule.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.DataMaskRule.Builder
iamGroupId(String iamGroupId)
IAM Group ID associated with the data mask ruleDataMaskRule.Builder
id(String id)
Unique identifier that can’t be changed after creationDataMaskRule.Builder
lifecycleState(LifecycleState lifecycleState)
The current lifecycle state of the data mask ruleDataMaskRule.Builder
lifecyleDetails(String lifecyleDetails)
Additional details on the substate of the lifecycle state [DEPRECATE]DataMaskRule.Builder
locks(List<ResourceLock> locks)
Locks associated with this resource.DataMaskRule.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.DataMaskRule.Builder
targetSelected(TargetSelected targetSelected)
DataMaskRule.Builder
timeCreated(Date timeCreated)
The date and time the target was created.DataMaskRule.Builder
timeUpdated(Date timeUpdated)
The date and time the target was updated.
-
-
-
Method Detail
-
id
public DataMaskRule.Builder id(String id)
Unique identifier that can’t be changed after creation- Parameters:
id
- the value to set- Returns:
- this builder
-
displayName
public DataMaskRule.Builder displayName(String displayName)
Data mask rule display name- Parameters:
displayName
- the value to set- Returns:
- this builder
-
compartmentId
public DataMaskRule.Builder compartmentId(String compartmentId)
Compartment OCID where the resource is created- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
description
public DataMaskRule.Builder description(String description)
The data mask rule description- Parameters:
description
- the value to set- Returns:
- this builder
-
iamGroupId
public DataMaskRule.Builder iamGroupId(String iamGroupId)
IAM Group ID associated with the data mask rule- Parameters:
iamGroupId
- the value to set- Returns:
- this builder
-
targetSelected
public DataMaskRule.Builder targetSelected(TargetSelected targetSelected)
-
dataMaskCategories
public DataMaskRule.Builder dataMaskCategories(List<DataMaskCategory> dataMaskCategories)
List of data mask rule categories- Parameters:
dataMaskCategories
- the value to set- Returns:
- this builder
-
timeCreated
public 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
-
timeUpdated
public 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
-
dataMaskRuleStatus
public DataMaskRule.Builder dataMaskRuleStatus(DataMaskRuleStatus dataMaskRuleStatus)
The current status of the data mask rule- Parameters:
dataMaskRuleStatus
- the value to set- Returns:
- this builder
-
lifecycleState
public DataMaskRule.Builder lifecycleState(LifecycleState lifecycleState)
The current lifecycle state of the data mask rule- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecyleDetails
public DataMaskRule.Builder lifecyleDetails(String lifecyleDetails)
Additional details on the substate of the lifecycle state [DEPRECATE]- Parameters:
lifecyleDetails
- the value to set- Returns:
- this builder
-
locks
public DataMaskRule.Builder locks(List<ResourceLock> locks)
Locks associated with this resource.- Parameters:
locks
- the value to set- Returns:
- this builder
-
freeformTags
public 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
-
definedTags
public 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
-
systemTags
public 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
-
build
public DataMaskRule build()
-
copy
public DataMaskRule.Builder copy(DataMaskRule model)
-
-