public static class FoldersContainingPaperDoc.Builder
extends java.lang.Object
FoldersContainingPaperDoc
.Modifier and Type | Field and Description |
---|---|
protected java.util.List<Folder> |
folders |
protected FolderSharingPolicyType |
folderSharingPolicyType |
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
Modifier and Type | Method and Description |
---|---|
FoldersContainingPaperDoc |
build()
Builds an instance of
FoldersContainingPaperDoc configured
with this builder's values |
FoldersContainingPaperDoc.Builder |
withFolders(java.util.List<Folder> folders)
Set value for optional field.
|
FoldersContainingPaperDoc.Builder |
withFolderSharingPolicyType(FolderSharingPolicyType folderSharingPolicyType)
Set value for optional field.
|
protected FolderSharingPolicyType folderSharingPolicyType
protected java.util.List<Folder> folders
public FoldersContainingPaperDoc.Builder withFolderSharingPolicyType(FolderSharingPolicyType folderSharingPolicyType)
folderSharingPolicyType
- The sharing policy of the folder
containing the Paper doc.public FoldersContainingPaperDoc.Builder withFolders(java.util.List<Folder> folders)
folders
- The folder path. If present the first folder is the
root folder. Must not contain a null
item.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public FoldersContainingPaperDoc build()
FoldersContainingPaperDoc
configured
with this builder's valuesFoldersContainingPaperDoc