public class AddFolderMemberBuilder extends Object
DbxUserSharingRequests.addFolderMemberBuilder(java.lang.String, java.util.List<com.dropbox.core.v2.sharing.AddMember>)
.
Use this class to set optional request parameters and complete the request.
Modifier and Type | Method and Description |
---|---|
void |
start()
Issues the request.
|
AddFolderMemberBuilder |
withCustomMessage(String customMessage)
Set value for optional field.
|
AddFolderMemberBuilder |
withQuiet(Boolean quiet)
Set value for optional field.
|
public AddFolderMemberBuilder withQuiet(Boolean quiet)
If left unset or set to null
, defaults to false
.
quiet
- Whether added members should be notified via email and
device notifications of their invite. Defaults to false
when
set to null
.public AddFolderMemberBuilder withCustomMessage(String customMessage)
customMessage
- Optional message to display to added members in
their invitation. Must have length of at least 1.IllegalArgumentException
- If any argument does not meet its
preconditions.public void start() throws AddFolderMemberErrorException, DbxException