public ExecuteStatementRequest withWithEvent(Boolean withEvent) {
        setWithEvent(withEvent);
        return this;
    }
<p>
A value that indicates whether to send an event to the Amazon EventBridge event bus after the SQL statement runs.
</p>

@param withEvent
       A value that indicates whether to send an event to the Amazon EventBridge event bus after the SQL
       statement runs.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-redshiftdataapi/src/main/java/com/amazonaws/services/redshiftdataapi/model/ExecuteStatementRequest.java