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

        if (obj instanceof PartialFailure == false)
            return false;
        PartialFailure other = (PartialFailure) obj;
        if (other.getFailureResource() == null ^ this.getFailureResource() == null)
            return false;
        if (other.getFailureResource() != null && other.getFailureResource().equals(this.getFailureResource()) == false)
            return false;
        if (other.getExceptionType() == null ^ this.getExceptionType() == null)
            return false;
        if (other.getExceptionType() != null && other.getExceptionType().equals(this.getExceptionType()) == false)
            return false;
        if (other.getFailureCode() == null ^ this.getFailureCode() == null)
            return false;
        if (other.getFailureCode() != null && other.getFailureCode().equals(this.getFailureCode()) == false)
            return false;
        if (other.getFailureDescription() == null ^ this.getFailureDescription() == null)
            return false;
        if (other.getFailureDescription() != null && other.getFailureDescription().equals(this.getFailureDescription()) == 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-cloudwatch/src/main/java/com/amazonaws/services/cloudwatch/model/PartialFailure.java