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

        if (obj instanceof IpamDiscoveredAccount == false)
            return false;
        IpamDiscoveredAccount other = (IpamDiscoveredAccount) obj;
        if (other.getAccountId() == null ^ this.getAccountId() == null)
            return false;
        if (other.getAccountId() != null && other.getAccountId().equals(this.getAccountId()) == false)
            return false;
        if (other.getDiscoveryRegion() == null ^ this.getDiscoveryRegion() == null)
            return false;
        if (other.getDiscoveryRegion() != null && other.getDiscoveryRegion().equals(this.getDiscoveryRegion()) == false)
            return false;
        if (other.getFailureReason() == null ^ this.getFailureReason() == null)
            return false;
        if (other.getFailureReason() != null && other.getFailureReason().equals(this.getFailureReason()) == false)
            return false;
        if (other.getLastAttemptedDiscoveryTime() == null ^ this.getLastAttemptedDiscoveryTime() == null)
            return false;
        if (other.getLastAttemptedDiscoveryTime() != null && other.getLastAttemptedDiscoveryTime().equals(this.getLastAttemptedDiscoveryTime()) == false)
            return false;
        if (other.getLastSuccessfulDiscoveryTime() == null ^ this.getLastSuccessfulDiscoveryTime() == null)
            return false;
        if (other.getLastSuccessfulDiscoveryTime() != null && other.getLastSuccessfulDiscoveryTime().equals(this.getLastSuccessfulDiscoveryTime()) == 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-ec2/src/main/java/com/amazonaws/services/ec2/model/IpamDiscoveredAccount.java