public ListJobRunAttemptsResult withJobRunAttempts(JobRunAttemptSummary... jobRunAttempts) {
        if (this.jobRunAttempts == null) {
            setJobRunAttempts(new java.util.ArrayList<JobRunAttemptSummary>(jobRunAttempts.length));
        }
        for (JobRunAttemptSummary ele : jobRunAttempts) {
            this.jobRunAttempts.add(ele);
        }
        return this;
    }
<p>
The array of the listed job run attempt objects.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setJobRunAttempts(java.util.Collection)} or {@link #withJobRunAttempts(java.util.Collection)} if you want
to override the existing values.
</p>

@param jobRunAttempts
       The array of the listed job run attempt objects.
@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/ListJobRunAttemptsResult.java