public UpdateJobRequest withMaxRetriesPerTask(Integer maxRetriesPerTask) {
        setMaxRetriesPerTask(maxRetriesPerTask);
        return this;
    }
<p>
The maximum number of retries for a job.
</p>

@param maxRetriesPerTask
       The maximum number of retries for a job.
@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/UpdateJobRequest.java