public CancelQueryResult withQueryId(String queryId) {
        setQueryId(queryId);
        return this;
    }
<p>
The ID of the canceled query.
</p>

@param queryId
       The ID of the canceled query.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cloudtrail/src/main/java/com/amazonaws/services/cloudtrail/model/CancelQueryResult.java