Package com.dropbox.core.v2.sharing
Class AddFolderMemberBuilder
- java.lang.Object
-
- com.dropbox.core.v2.sharing.AddFolderMemberBuilder
-
public class AddFolderMemberBuilder extends java.lang.Object
The request builder returned byDbxUserSharingRequests.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.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
withQuiet
public AddFolderMemberBuilder withQuiet(java.lang.Boolean quiet)
Set value for optional field.If left unset or set to
null
, defaults tofalse
.- Parameters:
quiet
- Whether added members should be notified via email and device notifications of their invite. Defaults tofalse
when set tonull
.- Returns:
- this builder
-
withCustomMessage
public AddFolderMemberBuilder withCustomMessage(java.lang.String customMessage)
Set value for optional field.- Parameters:
customMessage
- Optional message to display to added members in their invitation. Must have length of at least 1.- Returns:
- this builder
- Throws:
java.lang.IllegalArgumentException
- If any argument does not meet its preconditions.
-
start
public void start() throws AddFolderMemberErrorException, DbxException
Issues the request.
-
-