public void setSessions(java.util.Collection<WorkerSessionSummary> sessions) {
        if (sessions == null) {
            this.sessions = null;
            return;
        }

        this.sessions = new java.util.ArrayList<WorkerSessionSummary>(sessions);
    }
<p>
The sessions in the response.
</p>

@param sessions
       The sessions in the response.
aws-java-sdk-deadline/src/main/java/com/amazonaws/services/deadline/model/ListSessionsForWorkerResult.java