public SpeakerEnrollmentJob withFailureDetails(FailureDetails failureDetails) {
        setFailureDetails(failureDetails);
        return this;
    }
<p>
Contains details that are populated when an entire batch job fails. In cases of individual registration job
failures, the batch job as a whole doesn't fail; it is completed with a <code>JobStatus</code> of
<code>COMPLETED_WITH_ERRORS</code>. You can use the job output file to identify the individual registration
requests that failed.
</p>

@param failureDetails
       Contains details that are populated when an entire batch job fails. In cases of individual registration
       job failures, the batch job as a whole doesn't fail; it is completed with a <code>JobStatus</code> of
       <code>COMPLETED_WITH_ERRORS</code>. You can use the job output file to identify the individual
       registration requests that failed.
@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/SpeakerEnrollmentJob.java