public FileConfiguration withFolders(String... folders) {
        if (this.folders == null) {
            setFolders(new java.util.ArrayList<String>(folders.length));
        }
        for (String ele : folders) {
            this.folders.add(ele);
        }
        return this;
    }
<p>
Identifiers for the source folders to pull all files from recursively.
</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
       Identifiers for the source folders to pull all files from recursively.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-appintegrations/src/main/java/com/amazonaws/services/appintegrations/model/FileConfiguration.java