@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getLatestIngestionSuccessTime() != null)
            sb.append("LatestIngestionSuccessTime: ").append(getLatestIngestionSuccessTime()).append(",");
        if (getLatestIngestionSuccessEventID() != null)
            sb.append("LatestIngestionSuccessEventID: ").append(getLatestIngestionSuccessEventID()).append(",");
        if (getLatestIngestionErrorCode() != null)
            sb.append("LatestIngestionErrorCode: ").append(getLatestIngestionErrorCode()).append(",");
        if (getLatestIngestionAttemptTime() != null)
            sb.append("LatestIngestionAttemptTime: ").append(getLatestIngestionAttemptTime()).append(",");
        if (getLatestIngestionAttemptEventID() != null)
            sb.append("LatestIngestionAttemptEventID: ").append(getLatestIngestionAttemptEventID());
        sb.append("}");
        return sb.toString();
    }
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