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

        this.sessions = new java.util.ArrayList<Session>(sessions);
    }
<p>
Returns the session object.
</p>

@param sessions
       Returns the session object.
aws-java-sdk-glue/src/main/java/com/amazonaws/services/glue/model/ListSessionsResult.java