@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getCursor() != null)
            sb.append("Cursor: ").append(getCursor()).append(",");
        if (getExpr() != null)
            sb.append("Expr: ").append(getExpr()).append(",");
        if (getFacet() != null)
            sb.append("Facet: ").append(getFacet()).append(",");
        if (getFilterQuery() != null)
            sb.append("FilterQuery: ").append(getFilterQuery()).append(",");
        if (getHighlight() != null)
            sb.append("Highlight: ").append(getHighlight()).append(",");
        if (getPartial() != null)
            sb.append("Partial: ").append(getPartial()).append(",");
        if (getQuery() != null)
            sb.append("Query: ").append(getQuery()).append(",");
        if (getQueryOptions() != null)
            sb.append("QueryOptions: ").append(getQueryOptions()).append(",");
        if (getQueryParser() != null)
            sb.append("QueryParser: ").append(getQueryParser()).append(",");
        if (getReturn() != null)
            sb.append("Return: ").append(getReturn()).append(",");
        if (getSize() != null)
            sb.append("Size: ").append(getSize()).append(",");
        if (getSort() != null)
            sb.append("Sort: ").append(getSort()).append(",");
        if (getStart() != null)
            sb.append("Start: ").append(getStart()).append(",");
        if (getStats() != null)
            sb.append("Stats: ").append(getStats());
        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-cloudsearch/src/main/java/com/amazonaws/services/cloudsearchdomain/model/SearchRequest.java