public ListSessionsForWorkerResult withSessions(java.util.Collection<WorkerSessionSummary> sessions) {
        setSessions(sessions);
        return this;
    }
<p>
The sessions in the response.
</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