public RedshiftDataParameters withWithEvent(Boolean withEvent) {
        setWithEvent(withEvent);
        return this;
    }
<p>
Indicates whether to send an event back to EventBridge after the SQL statement runs.
</p>

@param withEvent
       Indicates whether to send an event back to EventBridge after the SQL statement runs.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-events/src/main/java/com/amazonaws/services/cloudwatchevents/model/RedshiftDataParameters.java