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

        if (obj instanceof ThreatDetectedByName == false)
            return false;
        ThreatDetectedByName other = (ThreatDetectedByName) obj;
        if (other.getItemCount() == null ^ this.getItemCount() == null)
            return false;
        if (other.getItemCount() != null && other.getItemCount().equals(this.getItemCount()) == false)
            return false;
        if (other.getUniqueThreatNameCount() == null ^ this.getUniqueThreatNameCount() == null)
            return false;
        if (other.getUniqueThreatNameCount() != null && other.getUniqueThreatNameCount().equals(this.getUniqueThreatNameCount()) == false)
            return false;
        if (other.getShortened() == null ^ this.getShortened() == null)
            return false;
        if (other.getShortened() != null && other.getShortened().equals(this.getShortened()) == false)
            return false;
        if (other.getThreatNames() == null ^ this.getThreatNames() == null)
            return false;
        if (other.getThreatNames() != null && other.getThreatNames().equals(this.getThreatNames()) == 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-guardduty/src/main/java/com/amazonaws/services/guardduty/model/ThreatDetectedByName.java