public RedshiftDataParameters withSql(String sql) {
        setSql(sql);
        return this;
    }
<p>
The SQL statement text to run.
</p>

@param sql
       The SQL statement text to run.
@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