public PutQueryDefinitionRequest withQueryString(String queryString) {
        setQueryString(queryString);
        return this;
    }
<p>
The query string to use for this definition. For more information, see <a
href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_QuerySyntax.html">CloudWatch Logs Insights
Query Syntax</a>.
</p>

@param queryString
       The query string to use for this definition. For more information, see <a
       href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_QuerySyntax.html">CloudWatch Logs
       Insights Query Syntax</a>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-logs/src/main/java/com/amazonaws/services/logs/model/PutQueryDefinitionRequest.java