public ListNotebookSessionsResult withNotebookSessionsList(NotebookSessionSummary... notebookSessionsList) {
        if (this.notebookSessionsList == null) {
            setNotebookSessionsList(new java.util.ArrayList<NotebookSessionSummary>(notebookSessionsList.length));
        }
        for (NotebookSessionSummary ele : notebookSessionsList) {
            this.notebookSessionsList.add(ele);
        }
        return this;
    }
<p>
A list of the sessions belonging to the notebook.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setNotebookSessionsList(java.util.Collection)} or {@link #withNotebookSessionsList(java.util.Collection)}
if you want to override the existing values.
</p>

@param notebookSessionsList
       A list of the sessions belonging to the notebook.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-athena/src/main/java/com/amazonaws/services/athena/model/ListNotebookSessionsResult.java