public Endpoint withFailureReason(String failureReason) {
        setFailureReason(failureReason);
        return this;
    }
<p>
If the endpoint failed, the reason it failed.
</p>

@param failureReason
       If the endpoint failed, the reason it failed.
@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/Endpoint.java