Package com.dropbox.core.v2.paper
Class FoldersContainingPaperDoc.Builder
- java.lang.Object
- 
- com.dropbox.core.v2.paper.FoldersContainingPaperDoc.Builder
 
- 
- Enclosing class:
- FoldersContainingPaperDoc
 
 public static class FoldersContainingPaperDoc.Builder extends java.lang.ObjectBuilder forFoldersContainingPaperDoc.
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.util.List<Folder>foldersprotected FolderSharingPolicyTypefolderSharingPolicyType
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedBuilder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description FoldersContainingPaperDocbuild()Builds an instance ofFoldersContainingPaperDocconfigured with this builder's valuesFoldersContainingPaperDoc.BuilderwithFolders(java.util.List<Folder> folders)Set value for optional field.FoldersContainingPaperDoc.BuilderwithFolderSharingPolicyType(FolderSharingPolicyType folderSharingPolicyType)Set value for optional field.
 
- 
- 
- 
Field Detail- 
folderSharingPolicyTypeprotected FolderSharingPolicyType folderSharingPolicyType 
 - 
foldersprotected java.util.List<Folder> folders 
 
- 
 - 
Method Detail- 
withFolderSharingPolicyTypepublic FoldersContainingPaperDoc.Builder withFolderSharingPolicyType(FolderSharingPolicyType folderSharingPolicyType) Set value for optional field.- Parameters:
- folderSharingPolicyType- The sharing policy of the folder containing the Paper doc.
- Returns:
- this builder
 
 - 
withFolderspublic FoldersContainingPaperDoc.Builder withFolders(java.util.List<Folder> folders) Set value for optional field.- Parameters:
- folders- The folder path. If present the first folder is the root folder. Must not contain a- nullitem.
- Returns:
- this builder
- Throws:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
 
 - 
buildpublic FoldersContainingPaperDoc build() Builds an instance ofFoldersContainingPaperDocconfigured with this builder's values- Returns:
- new instance of FoldersContainingPaperDoc
 
 
- 
 
-