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.Object
Builder forFoldersContainingPaperDoc
.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<Folder>
folders
protected FolderSharingPolicyType
folderSharingPolicyType
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FoldersContainingPaperDoc
build()
Builds an instance ofFoldersContainingPaperDoc
configured with this builder's valuesFoldersContainingPaperDoc.Builder
withFolders(java.util.List<Folder> folders)
Set value for optional field.FoldersContainingPaperDoc.Builder
withFolderSharingPolicyType(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 anull
item.- Returns:
- this builder
- Throws:
java.lang.IllegalArgumentException
- If any argument does not meet its preconditions.
-
build
public FoldersContainingPaperDoc build()
Builds an instance ofFoldersContainingPaperDoc
configured with this builder's values- Returns:
- new instance of
FoldersContainingPaperDoc
-
-