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

        if (obj instanceof BucketStatisticsBySensitivity == false)
            return false;
        BucketStatisticsBySensitivity other = (BucketStatisticsBySensitivity) obj;
        if (other.getClassificationError() == null ^ this.getClassificationError() == null)
            return false;
        if (other.getClassificationError() != null && other.getClassificationError().equals(this.getClassificationError()) == false)
            return false;
        if (other.getNotClassified() == null ^ this.getNotClassified() == null)
            return false;
        if (other.getNotClassified() != null && other.getNotClassified().equals(this.getNotClassified()) == false)
            return false;
        if (other.getNotSensitive() == null ^ this.getNotSensitive() == null)
            return false;
        if (other.getNotSensitive() != null && other.getNotSensitive().equals(this.getNotSensitive()) == false)
            return false;
        if (other.getSensitive() == null ^ this.getSensitive() == null)
            return false;
        if (other.getSensitive() != null && other.getSensitive().equals(this.getSensitive()) == 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-macie2/src/main/java/com/amazonaws/services/macie2/model/BucketStatisticsBySensitivity.java