public CreateDatasetImportJobRequest withImportMode(ImportMode importMode) {
        this.importMode = importMode.toString();
        return this;
    }
<p>
Specify how to add the new records to an existing dataset. The default import mode is <code>FULL</code>. If you
haven't imported bulk records into the dataset previously, you can only specify <code>FULL</code>.
</p>
<ul>
<li>
<p>
Specify <code>FULL</code> to overwrite all existing bulk data in your dataset. Data you imported individually is
not replaced.
</p>
</li>
<li>
<p>
Specify <code>INCREMENTAL</code> to append the new records to the existing data in your dataset. Amazon
Personalize replaces any record with the same ID with the new one.
</p>
</li>
</ul>

@param importMode
       Specify how to add the new records to an existing dataset. The default import mode is <code>FULL</code>.
       If you haven't imported bulk records into the dataset previously, you can only specify <code>FULL</code>
       .</p>
       <ul>
       <li>
       <p>
       Specify <code>FULL</code> to overwrite all existing bulk data in your dataset. Data you imported
       individually is not replaced.
       </p>
       </li>
       <li>
       <p>
       Specify <code>INCREMENTAL</code> to append the new records to the existing data in your dataset. Amazon
       Personalize replaces any record with the same ID with the new one.
       </p>
       </li>
@return Returns a reference to this object so that method calls can be chained together.
@see ImportMode
aws-java-sdk-personalize/src/main/java/com/amazonaws/services/personalize/model/CreateDatasetImportJobRequest.java