Class SdmMaskingPolicyDifference.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • 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
      • 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