public RedshiftSettings withBucketFolder(String bucketFolder) {
        setBucketFolder(bucketFolder);
        return this;
    }
<p>
An S3 folder where the comma-separated-value (.csv) files are stored before being uploaded to the target Redshift
cluster.
</p>
<p>
For full load mode, DMS converts source records into .csv files and loads them to the <i>BucketFolder/TableID</i>
path. DMS uses the Redshift <code>COPY</code> command to upload the .csv files to the target table. The files are
deleted once the <code>COPY</code> operation has finished. For more information, see <a
href="https://docs.aws.amazon.com/redshift/latest/dg/r_COPY.html">COPY</a> in the <i>Amazon Redshift Database
Developer Guide</i>.
</p>
<p>
For change-data-capture (CDC) mode, DMS creates a <i>NetChanges</i> table, and loads the .csv files to this
<i>BucketFolder/NetChangesTableID</i> path.
</p>

@param bucketFolder
       An S3 folder where the comma-separated-value (.csv) files are stored before being uploaded to the target
       Redshift cluster. </p>
       <p>
       For full load mode, DMS converts source records into .csv files and loads them to the
       <i>BucketFolder/TableID</i> path. DMS uses the Redshift <code>COPY</code> command to upload the .csv files
       to the target table. The files are deleted once the <code>COPY</code> operation has finished. For more
       information, see <a href="https://docs.aws.amazon.com/redshift/latest/dg/r_COPY.html">COPY</a> in the
       <i>Amazon Redshift Database Developer Guide</i>.
       </p>
       <p>
       For change-data-capture (CDC) mode, DMS creates a <i>NetChanges</i> table, and loads the .csv files to
       this <i>BucketFolder/NetChangesTableID</i> path.
@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