public class ListFileMembersBuilder
extends java.lang.Object
DbxUserSharingRequests.listFileMembersBuilder(java.lang.String)
.
Use this class to set optional request parameters and complete the request.
Modifier and Type | Method and Description |
---|---|
SharedFileMembers |
start()
Issues the request.
|
ListFileMembersBuilder |
withActions(java.util.List<MemberAction> actions)
Set value for optional field.
|
ListFileMembersBuilder |
withIncludeInherited(java.lang.Boolean includeInherited)
Set value for optional field.
|
ListFileMembersBuilder |
withLimit(java.lang.Long limit)
Set value for optional field.
|
public ListFileMembersBuilder withActions(java.util.List<MemberAction> actions)
actions
- The actions for which to return permissions on a member.
Must not contain a null
item.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public ListFileMembersBuilder withIncludeInherited(java.lang.Boolean includeInherited)
If left unset or set to null
, defaults to true
.
includeInherited
- Whether to include members who only have access
from a parent shared folder. Defaults to true
when set to
null
.public ListFileMembersBuilder withLimit(java.lang.Long limit)
If left unset or set to null
, defaults to 100L
.
limit
- Number of members to return max per query. Defaults to 100
if no limit is specified. Must be greater than or equal to 1 and be
less than or equal to 300. Defaults to 100L
when set to
null
.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public SharedFileMembers start() throws ListFileMembersErrorException, DbxException