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

        if (obj instanceof IngestionStatus == false)
            return false;
        IngestionStatus other = (IngestionStatus) obj;
        if (other.getLatestIngestionSuccessTime() == null ^ this.getLatestIngestionSuccessTime() == null)
            return false;
        if (other.getLatestIngestionSuccessTime() != null && other.getLatestIngestionSuccessTime().equals(this.getLatestIngestionSuccessTime()) == false)
            return false;
        if (other.getLatestIngestionSuccessEventID() == null ^ this.getLatestIngestionSuccessEventID() == null)
            return false;
        if (other.getLatestIngestionSuccessEventID() != null
                && other.getLatestIngestionSuccessEventID().equals(this.getLatestIngestionSuccessEventID()) == false)
            return false;
        if (other.getLatestIngestionErrorCode() == null ^ this.getLatestIngestionErrorCode() == null)
            return false;
        if (other.getLatestIngestionErrorCode() != null && other.getLatestIngestionErrorCode().equals(this.getLatestIngestionErrorCode()) == false)
            return false;
        if (other.getLatestIngestionAttemptTime() == null ^ this.getLatestIngestionAttemptTime() == null)
            return false;
        if (other.getLatestIngestionAttemptTime() != null && other.getLatestIngestionAttemptTime().equals(this.getLatestIngestionAttemptTime()) == false)
            return false;
        if (other.getLatestIngestionAttemptEventID() == null ^ this.getLatestIngestionAttemptEventID() == null)
            return false;
        if (other.getLatestIngestionAttemptEventID() != null
                && other.getLatestIngestionAttemptEventID().equals(this.getLatestIngestionAttemptEventID()) == 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-cloudtrail/src/main/java/com/amazonaws/services/cloudtrail/model/IngestionStatus.java