public TaskSummary withFailureRetryCount(Integer failureRetryCount) {
        setFailureRetryCount(failureRetryCount);
        return this;
    }
<p>
The number of times that the task failed and was retried.
</p>

@param failureRetryCount
       The number of times that the task failed and was retried.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-deadline/src/main/java/com/amazonaws/services/deadline/model/TaskSummary.java