public StartSpeakerEnrollmentJobRequest withEnrollmentConfig(EnrollmentConfig enrollmentConfig) {
        setEnrollmentConfig(enrollmentConfig);
        return this;
    }
<p>
The enrollment config that contains details such as the action to take when a speaker is already enrolled in
Voice ID or when a speaker is identified as a fraudster.
</p>

@param enrollmentConfig
       The enrollment config that contains details such as the action to take when a speaker is already enrolled
       in Voice ID or when a speaker is identified as a fraudster.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-voiceid/src/main/java/com/amazonaws/services/voiceid/model/StartSpeakerEnrollmentJobRequest.java