public DatasetAction withQueryAction(SqlQueryDatasetAction queryAction) {
        setQueryAction(queryAction);
        return this;
    }
<p>
An <code>SqlQueryDatasetAction</code> object that uses an SQL query to automatically create dataset contents.
</p>

@param queryAction
       An <code>SqlQueryDatasetAction</code> object that uses an SQL query to automatically create dataset
       contents.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iotanalytics/src/main/java/com/amazonaws/services/iotanalytics/model/DatasetAction.java