public SearchResourcesRequest withQueryText(String queryText) {
        setQueryText(queryText);
        return this;
    }
<p>
The String to search for. Searches across different text fields based on request parameters. Use double quotes
around the query string for exact phrase matches.
</p>

@param queryText
       The String to search for. Searches across different text fields based on request parameters. Use double
       quotes around the query string for exact phrase matches.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-workdocs/src/main/java/com/amazonaws/services/workdocs/model/SearchResourcesRequest.java