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 Summary
Fields Modifier and Type Field Description protected java.util.List<Folder>foldersprotected FolderSharingPolicyTypefolderSharingPolicyType
-
Constructor Summary
Constructors Modifier Constructor Description protectedBuilder()
-
Method Summary
All 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
-
folderSharingPolicyType
protected FolderSharingPolicyType folderSharingPolicyType
-
folders
protected java.util.List<Folder> folders
-
-
Method Detail
-
withFolderSharingPolicyType
public 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
-
withFolders
public 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 anullitem.- Returns:
- this builder
- Throws:
java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
-
build
public FoldersContainingPaperDoc build()
Builds an instance ofFoldersContainingPaperDocconfigured with this builder's values- Returns:
- new instance of
FoldersContainingPaperDoc
-
-