public class AddFolderMemberBuilder
extends java.lang.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(java.lang.String customMessage)
Set value for optional field.
|
AddFolderMemberBuilder |
withQuiet(java.lang.Boolean quiet)
Set value for optional field.
|
public AddFolderMemberBuilder withQuiet(java.lang.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(java.lang.String customMessage)
customMessage
- Optional message to display to added members in
their invitation. Must have length of at least 1.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public void start() throws AddFolderMemberErrorException, DbxException