public JobRunSummary withAttempt(Integer attempt) {
        setAttempt(attempt);
        return this;
    }
<p>
The attempt number of the job run execution.
</p>

@param attempt
       The attempt number of the job run execution.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-emrserverless/src/main/java/com/amazonaws/services/emrserverless/model/JobRunSummary.java