public StopQueryResult withSuccess(Boolean success) {
        setSuccess(success);
        return this;
    }
<p>
This is true if the query was stopped by the <code>StopQuery</code> operation.
</p>

@param success
       This is true if the query was stopped by the <code>StopQuery</code> operation.
@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/StopQueryResult.java