Class MaskingColumn


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20181201")
    public final class MaskingColumn
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    A masking column is a resource corresponding to a database column that you want to mask.

    It’s a subresource of masking policy resource and is always associated with a masking policy. Note that only parent columns are managed as masking columns. The child columns are automatically managed using the childColumns attribute.
    Note: Objects should always be created or deserialized using the MaskingColumn.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of the MaskingColumn.Builder, which maintain a set of all explicitly set fields called MaskingColumn.Builder.__explicitlySet__. The hashCode() and equals(Object) methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).

    • Method Detail

      • getKey

        public String getKey()
        The unique key that identifies the masking column.

        It’s numeric and unique within a masking policy.

        Returns:
        the value
      • getMaskingPolicyId

        public String getMaskingPolicyId()
        The OCID of the masking policy that contains the masking column.
        Returns:
        the value
      • getLifecycleState

        public MaskingColumnLifecycleState getLifecycleState()
        The current state of the masking column.
        Returns:
        the value
      • getLifecycleDetails

        public String getLifecycleDetails()
        Details about the current state of the masking column.
        Returns:
        the value
      • getTimeCreated

        public Date getTimeCreated()
        The date and time the masking column was created, in the format defined by RFC3339.
        Returns:
        the value
      • getTimeUpdated

        public Date getTimeUpdated()
        The date and time the masking column was last updated, in the format defined by RFC3339.
        Returns:
        the value
      • getSchemaName

        public String getSchemaName()
        The name of the schema that contains the database column.
        Returns:
        the value
      • getObjectName

        public String getObjectName()
        The name of the object (table or editioning view) that contains the database column.
        Returns:
        the value
      • getObjectType

        public ObjectType getObjectType()
        The type of the object that contains the database column.
        Returns:
        the value
      • getColumnName

        public String getColumnName()
        The name of the database column.

        Note that the same name is used for the masking column. There is no separate displayName attribute for the masking column.

        Returns:
        the value
      • getChildColumns

        public List<String> getChildColumns()
        An array of child columns that are in referential relationship with the masking column.
        Returns:
        the value
      • getMaskingColumnGroup

        public String getMaskingColumnGroup()
        The group of the masking column.

        All the columns in a group are masked together to ensure that the masked data across these columns continue to retain the same logical relationship. For more details, check Group Masking in the Data Safe documentation.

        Returns:
        the value
      • getSensitiveTypeId

        public String getSensitiveTypeId()
        The OCID of the sensitive type associated with the masking column.
        Returns:
        the value
      • getIsMaskingEnabled

        public Boolean getIsMaskingEnabled()
        Indicates whether data masking is enabled for the masking column.
        Returns:
        the value
      • getDataType

        public String getDataType()
        The data type of the masking column.
        Returns:
        the value
      • getMaskingFormats

        public List<MaskingFormat> getMaskingFormats()
        An array of masking formats assigned to the masking column.
        Returns:
        the value
      • toString

        public String toString()
        Overrides:
        toString in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • toString

        public String toString​(boolean includeByteArrayContents)
        Return a string representation of the object.
        Parameters:
        includeByteArrayContents - true to include the full contents of byte arrays
        Returns:
        string representation
      • equals

        public boolean equals​(Object o)
        Overrides:
        equals in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel