public RedshiftSettings withWriteBufferSize(Integer writeBufferSize) {
        setWriteBufferSize(writeBufferSize);
        return this;
    }
<p>
The size (in KB) of the in-memory file write buffer used when generating .csv files on the local disk at the DMS
replication instance. The default value is 1000 (buffer size is 1000KB).
</p>

@param writeBufferSize
       The size (in KB) of the in-memory file write buffer used when generating .csv files on the local disk at
       the DMS replication instance. The default value is 1000 (buffer size is 1000KB).
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-dms/src/main/java/com/amazonaws/services/databasemigrationservice/model/RedshiftSettings.java