Class MaskedColumnSummary


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20181201")
    public final class MaskedColumnSummary
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    Summary of a masked column.

    A masked column is a database column masked by a data masking request.
    Note: Objects should always be created or deserialized using the MaskedColumnSummary.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 MaskedColumnSummary.Builder, which maintain a set of all explicitly set fields called MaskedColumnSummary.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).

    • Constructor Detail

      • MaskedColumnSummary

        @Deprecated
        @ConstructorProperties({"key","parentColumnKey","sensitiveTypeId","schemaName","objectName","objectType","columnName","maskingColumnGroup","maskingFormatUsed","totalMaskedValues"})
        public MaskedColumnSummary​(String key,
                                   String parentColumnKey,
                                   String sensitiveTypeId,
                                   String schemaName,
                                   String objectName,
                                   ObjectType objectType,
                                   String columnName,
                                   String maskingColumnGroup,
                                   String maskingFormatUsed,
                                   Long totalMaskedValues)
        Deprecated.
    • Method Detail

      • getKey

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

        It’s numeric and unique within a masking policy.

        Returns:
        the value
      • getParentColumnKey

        public String getParentColumnKey()
        The unique key that identifies the parent column of the masked column.
        Returns:
        the value
      • getSensitiveTypeId

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

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

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

        public ObjectType getObjectType()
        The type of the object (table or editioning view) that contains the masked column.
        Returns:
        the value
      • getColumnName

        public String getColumnName()
        The name of the masked column.
        Returns:
        the value
      • getMaskingColumnGroup

        public String getMaskingColumnGroup()
        The masking group of the masked column.
        Returns:
        the value
      • getMaskingFormatUsed

        public String getMaskingFormatUsed()
        The masking format used for masking the column.
        Returns:
        the value
      • getTotalMaskedValues

        public Long getTotalMaskedValues()
        The total number of values masked in the 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