public RedshiftSettings withMaxFileSize(Integer maxFileSize) {
        setMaxFileSize(maxFileSize);
        return this;
    }
<p>
The maximum size (in KB) of any .csv file used to load data on an S3 bucket and transfer data to Amazon Redshift.
It defaults to 1048576KB (1 GB).
</p>

@param maxFileSize
       The maximum size (in KB) of any .csv file used to load data on an S3 bucket and transfer data to Amazon
       Redshift. It defaults to 1048576KB (1 GB).
@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