@Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;

        if (obj instanceof DataEncryptionMetadata == false)
            return false;
        DataEncryptionMetadata other = (DataEncryptionMetadata) obj;
        if (other.getAllowCleartext() == null ^ this.getAllowCleartext() == null)
            return false;
        if (other.getAllowCleartext() != null && other.getAllowCleartext().equals(this.getAllowCleartext()) == false)
            return false;
        if (other.getAllowDuplicates() == null ^ this.getAllowDuplicates() == null)
            return false;
        if (other.getAllowDuplicates() != null && other.getAllowDuplicates().equals(this.getAllowDuplicates()) == false)
            return false;
        if (other.getAllowJoinsOnColumnsWithDifferentNames() == null ^ this.getAllowJoinsOnColumnsWithDifferentNames() == null)
            return false;
        if (other.getAllowJoinsOnColumnsWithDifferentNames() != null
                && other.getAllowJoinsOnColumnsWithDifferentNames().equals(this.getAllowJoinsOnColumnsWithDifferentNames()) == false)
            return false;
        if (other.getPreserveNulls() == null ^ this.getPreserveNulls() == null)
            return false;
        if (other.getPreserveNulls() != null && other.getPreserveNulls().equals(this.getPreserveNulls()) == false)
            return false;
        return true;
    }
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
redacted from this string using a placeholder value.

@return A string representation of this object.

@see java.lang.Object#toString()
aws-java-sdk-cleanrooms/src/main/java/com/amazonaws/services/cleanrooms/model/DataEncryptionMetadata.java