Class SdmMaskingPolicyDifference.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.model.SdmMaskingPolicyDifference.Builder
-
- Enclosing class:
- SdmMaskingPolicyDifference
public static class SdmMaskingPolicyDifference.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SdmMaskingPolicyDifference
build()
SdmMaskingPolicyDifference.Builder
compartmentId(String compartmentId)
The OCID of the compartment that contains the Sensitive data model and masking policy difference resource.SdmMaskingPolicyDifference.Builder
copy(SdmMaskingPolicyDifference model)
SdmMaskingPolicyDifference.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.SdmMaskingPolicyDifference.Builder
differenceType(SdmMaskingPolicyDifference.DifferenceType differenceType)
The type of the SDM masking policy difference.SdmMaskingPolicyDifference.Builder
displayName(String displayName)
The display name of the SDM masking policy difference.SdmMaskingPolicyDifference.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.SdmMaskingPolicyDifference.Builder
id(String id)
The OCID of the Sensitive data model and masking policy difference resource.SdmMaskingPolicyDifference.Builder
lifecycleState(SdmMaskingPolicyDifference.LifecycleState lifecycleState)
The current state of the SDM masking policy difference.SdmMaskingPolicyDifference.Builder
maskingPolicyId(String maskingPolicyId)
The OCID of the masking policy associated with the SDM masking policy difference.SdmMaskingPolicyDifference.Builder
sensitiveDataModelId(String sensitiveDataModelId)
The OCID of the sensitive data model associated with the SDM masking policy difference.SdmMaskingPolicyDifference.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.SdmMaskingPolicyDifference.Builder
timeCreated(Date timeCreated)
The date and time the SDM masking policy difference was created, in the format defined by RFC3339.SdmMaskingPolicyDifference.Builder
timeCreationStarted(Date timeCreationStarted)
The date and time the SDM masking policy difference creation started, in the format defined by RFC3339.
-
-
-
Method Detail
-
id
public SdmMaskingPolicyDifference.Builder id(String id)
The OCID of the Sensitive data model and masking policy difference resource.- Parameters:
id
- the value to set- Returns:
- this builder
-
compartmentId
public SdmMaskingPolicyDifference.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the Sensitive data model and masking policy difference resource.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
differenceType
public SdmMaskingPolicyDifference.Builder differenceType(SdmMaskingPolicyDifference.DifferenceType differenceType)
The type of the SDM masking policy difference.It defines the difference scope. NEW identifies new sensitive columns in the sensitive data model that are not in the masking policy. DELETED identifies columns that are present in the masking policy but have been deleted from the sensitive data model. MODIFIED identifies columns that are present in the sensitive data model as well as the masking policy but some of their attributes have been modified. ALL covers all the above three scenarios and reports new, deleted and modified columns.
- Parameters:
differenceType
- the value to set- Returns:
- this builder
-
displayName
public SdmMaskingPolicyDifference.Builder displayName(String displayName)
The display name of the SDM masking policy difference.- Parameters:
displayName
- the value to set- Returns:
- this builder
-
timeCreated
public SdmMaskingPolicyDifference.Builder timeCreated(Date timeCreated)
The date and time the SDM masking policy difference was created, in the format defined by RFC3339.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeCreationStarted
public SdmMaskingPolicyDifference.Builder timeCreationStarted(Date timeCreationStarted)
The date and time the SDM masking policy difference creation started, in the format defined by RFC3339.- Parameters:
timeCreationStarted
- the value to set- Returns:
- this builder
-
lifecycleState
public SdmMaskingPolicyDifference.Builder lifecycleState(SdmMaskingPolicyDifference.LifecycleState lifecycleState)
The current state of the SDM masking policy difference.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
sensitiveDataModelId
public SdmMaskingPolicyDifference.Builder sensitiveDataModelId(String sensitiveDataModelId)
The OCID of the sensitive data model associated with the SDM masking policy difference.- Parameters:
sensitiveDataModelId
- the value to set- Returns:
- this builder
-
maskingPolicyId
public SdmMaskingPolicyDifference.Builder maskingPolicyId(String maskingPolicyId)
The OCID of the masking policy associated with the SDM masking policy difference.- Parameters:
maskingPolicyId
- the value to set- Returns:
- this builder
-
freeformTags
public SdmMaskingPolicyDifference.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags
Example: {"Department": "Finance"}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public SdmMaskingPolicyDifference.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {“Operations”: {“CostCenter”: “42”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
systemTags
public SdmMaskingPolicyDifference.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. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
- Parameters:
systemTags
- the value to set- Returns:
- this builder
-
build
public SdmMaskingPolicyDifference build()
-
copy
public SdmMaskingPolicyDifference.Builder copy(SdmMaskingPolicyDifference model)
-
-