public QueryAssistantRequest withQueryText(String queryText) {
        setQueryText(queryText);
        return this;
    }
<p>
The text to search for.
</p>

@param queryText
       The text to search for.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-connectwisdom/src/main/java/com/amazonaws/services/connectwisdom/model/QueryAssistantRequest.java