public class ListMountableFoldersBuilder
extends java.lang.Object
DbxUserSharingRequests.listMountableFoldersBuilder().
Use this class to set optional request parameters and complete the request.
| Modifier and Type | Method and Description |
|---|---|
ListFoldersResult |
start()
Issues the request.
|
ListMountableFoldersBuilder |
withActions(java.util.List<FolderAction> actions)
Set value for optional field.
|
ListMountableFoldersBuilder |
withLimit(java.lang.Long limit)
Set value for optional field.
|
public ListMountableFoldersBuilder withLimit(java.lang.Long limit)
If left unset or set to null, defaults to 1000L.
limit - The maximum number of results to return per request. Must
be greater than or equal to 1 and be less than or equal to 1000.
Defaults to 1000L when set to null.java.lang.IllegalArgumentException - If any argument does not meet its
preconditions.public ListMountableFoldersBuilder withActions(java.util.List<FolderAction> actions)
actions - A list of `FolderAction`s corresponding to
`FolderPermission`s that should appear in the response's SharedFolderMetadata.getPermissions() field describing the actions the
authenticated user can perform on the folder. Must not contain a
null item.java.lang.IllegalArgumentException - If any argument does not meet its
preconditions.public ListFoldersResult start() throws DbxApiException, DbxException
DbxApiExceptionDbxException