public static class CreateSdmMaskingPolicyDifferenceDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
public CreateSdmMaskingPolicyDifferenceDetails.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.
differenceType
- the value to setpublic CreateSdmMaskingPolicyDifferenceDetails.Builder maskingPolicyId(String maskingPolicyId)
The OCID of the masking policy. Note that if the masking policy is not associated with an SDM, CreateSdmMaskingPolicyDifference operation won’t be allowed.
maskingPolicyId
- the value to setpublic CreateSdmMaskingPolicyDifferenceDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment where the SDM masking policy difference resource should be created.
compartmentId
- the value to setpublic CreateSdmMaskingPolicyDifferenceDetails.Builder displayName(String displayName)
A user-friendly name for the SDM masking policy difference. Does not have to be unique, and it is changeable. Avoid entering confidential information.
displayName
- the value to setpublic CreateSdmMaskingPolicyDifferenceDetails.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"}
freeformTags
- the value to setpublic CreateSdmMaskingPolicyDifferenceDetails.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"}}
definedTags
- the value to setpublic CreateSdmMaskingPolicyDifferenceDetails build()
public CreateSdmMaskingPolicyDifferenceDetails.Builder copy(CreateSdmMaskingPolicyDifferenceDetails model)
Copyright © 2016–2024. All rights reserved.