public AutoMLJobSummary withFailureReason(String failureReason) {
        setFailureReason(failureReason);
        return this;
    }
<p>
The failure reason of an AutoML job.
</p>

@param failureReason
       The failure reason of an AutoML job.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/AutoMLJobSummary.java