public ListFoldersResult withFolderSummaryList(FolderSummary... folderSummaryList) {
        if (this.folderSummaryList == null) {
            setFolderSummaryList(new java.util.ArrayList<FolderSummary>(folderSummaryList.length));
        }
        for (FolderSummary ele : folderSummaryList) {
            this.folderSummaryList.add(ele);
        }
        return this;
    }
<p>
A structure that contains all of the folders in the Amazon Web Services account. This structure provides basic
information about the folders.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setFolderSummaryList(java.util.Collection)} or {@link #withFolderSummaryList(java.util.Collection)} if
you want to override the existing values.
</p>

@param folderSummaryList
       A structure that contains all of the folders in the Amazon Web Services account. This structure provides
       basic information about the folders.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-quicksight/src/main/java/com/amazonaws/services/quicksight/model/ListFoldersResult.java