public class FoldersCreateBuilder
extends java.lang.Object
DbxUserPaperRequests.foldersCreateBuilder(java.lang.String)
.
Use this class to set optional request parameters and complete the request.
Modifier and Type | Method and Description |
---|---|
PaperFolderCreateResult |
start()
Issues the request.
|
FoldersCreateBuilder |
withIsTeamFolder(java.lang.Boolean isTeamFolder)
Set value for optional field.
|
FoldersCreateBuilder |
withParentFolderId(java.lang.String parentFolderId)
Set value for optional field.
|
public FoldersCreateBuilder withParentFolderId(java.lang.String parentFolderId)
parentFolderId
- The encrypted Paper folder Id where the new Paper
folder should be created. The API user has to have write access to
this folder or error is thrown. If not supplied, the new folder will
be created at top level.public FoldersCreateBuilder withIsTeamFolder(java.lang.Boolean isTeamFolder)
isTeamFolder
- Whether the folder to be created should be a team
folder. This value will be ignored if parent_folder_id is supplied,
as the new folder will inherit the type (private or team folder) from
its parent. We will by default create a top-level private folder if
both parent_folder_id and is_team_folder are not supplied.public PaperFolderCreateResult start() throws PaperFolderCreateErrorException, DbxException