public ListSessionsForWorkerResult withSessions(WorkerSessionSummary... sessions) {
        if (this.sessions == null) {
            setSessions(new java.util.ArrayList<WorkerSessionSummary>(sessions.length));
        }
        for (WorkerSessionSummary ele : sessions) {
            this.sessions.add(ele);
        }
        return this;
    }
<p>
The sessions in the response.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setSessions(java.util.Collection)} or {@link #withSessions(java.util.Collection)} if you want to override
the existing values.
</p>

@param sessions
       The sessions in the response.
@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/ListSessionsForWorkerResult.java