Package com.dropbox.core.v2.paper
Class FoldersContainingPaperDoc.Builder
java.lang.Object
com.dropbox.core.v2.paper.FoldersContainingPaperDoc.Builder
- Enclosing class:
FoldersContainingPaperDoc
Builder for
FoldersContainingPaperDoc.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds an instance ofFoldersContainingPaperDocconfigured with this builder's valueswithFolders(List<Folder> folders) Set value for optional field.withFolderSharingPolicyType(FolderSharingPolicyType folderSharingPolicyType) Set value for optional field.
-
Field Details
-
folderSharingPolicyType
-
folders
-
-
Constructor Details
-
Builder
protected Builder()
-
-
Method Details
-
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
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:
IllegalArgumentException- If any argument does not meet its preconditions.
-
build
Builds an instance ofFoldersContainingPaperDocconfigured with this builder's values- Returns:
- new instance of
FoldersContainingPaperDoc
-