public static class ListFolderMembersCursorArg.Builder extends Object
ListFolderMembersCursorArg
.Modifier and Type | Field and Description |
---|---|
protected List<MemberAction> |
actions |
protected long |
limit |
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
Modifier and Type | Method and Description |
---|---|
ListFolderMembersCursorArg |
build()
Builds an instance of
ListFolderMembersCursorArg configured
with this builder's values |
ListFolderMembersCursorArg.Builder |
withActions(List<MemberAction> actions)
Set value for optional field.
|
ListFolderMembersCursorArg.Builder |
withLimit(Long limit)
Set value for optional field.
|
protected List<MemberAction> actions
protected long limit
public ListFolderMembersCursorArg.Builder withActions(List<MemberAction> actions)
actions
- This is a list indicating whether each returned
member will include a boolean value MemberPermission.getAllow()
that describes whether the current
user can perform the MemberAction on the member. Must not contain
a null
item.IllegalArgumentException
- If any argument does not meet its
preconditions.public ListFolderMembersCursorArg.Builder withLimit(Long limit)
If left unset or set to null
, defaults to 1000L
.
limit
- The maximum number of results that include members,
groups and invitees 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
.IllegalArgumentException
- If any argument does not meet its
preconditions.public ListFolderMembersCursorArg build()
ListFolderMembersCursorArg
configured
with this builder's valuesListFolderMembersCursorArg