public EnrollmentConfig withExistingEnrollmentAction(String existingEnrollmentAction) {
        setExistingEnrollmentAction(existingEnrollmentAction);
        return this;
    }
<p>
The action to take when the specified speaker is already enrolled in the specified domain. The default value is
<code>SKIP</code>, which skips the enrollment for the existing speaker. Setting the value to
<code>OVERWRITE</code> replaces the existing voice prints and enrollment audio stored for that speaker with new
data generated from the latest audio.
</p>

@param existingEnrollmentAction
       The action to take when the specified speaker is already enrolled in the specified domain. The default
       value is <code>SKIP</code>, which skips the enrollment for the existing speaker. Setting the value to
       <code>OVERWRITE</code> replaces the existing voice prints and enrollment audio stored for that speaker
       with new data generated from the latest audio.
@return Returns a reference to this object so that method calls can be chained together.
@see ExistingEnrollmentAction
aws-java-sdk-voiceid/src/main/java/com/amazonaws/services/voiceid/model/EnrollmentConfig.java