public class ListFileMembersBuilder extends 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(List<MemberAction> actions)
Set value for optional field.
|
ListFileMembersBuilder |
withIncludeInherited(Boolean includeInherited)
Set value for optional field.
|
ListFileMembersBuilder |
withLimit(Long limit)
Set value for optional field.
|
public ListFileMembersBuilder withActions(List<MemberAction> actions)
actions
- The actions for which to return permissions on a member.
Must not contain a null
item.IllegalArgumentException
- If any argument does not meet its
preconditions.public ListFileMembersBuilder withIncludeInherited(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(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
.IllegalArgumentException
- If any argument does not meet its
preconditions.public SharedFileMembers start() throws ListFileMembersErrorException, DbxException