public DescribeRootFoldersResult withFolders(FolderMetadata... folders) {
        if (this.folders == null) {
            setFolders(new java.util.ArrayList<FolderMetadata>(folders.length));
        }
        for (FolderMetadata ele : folders) {
            this.folders.add(ele);
        }
        return this;
    }
<p>
The user's special folders.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setFolders(java.util.Collection)} or {@link #withFolders(java.util.Collection)} if you want to override
the existing values.
</p>

@param folders
       The user's special folders.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-workdocs/src/main/java/com/amazonaws/services/workdocs/model/DescribeRootFoldersResult.java