Package com.dropbox.core.v2.team
Class SharingAllowlistAddBuilder
- java.lang.Object
-
- com.dropbox.core.v2.team.SharingAllowlistAddBuilder
-
public class SharingAllowlistAddBuilder extends java.lang.ObjectThe request builder returned byDbxTeamTeamRequests.sharingAllowlistAddBuilder().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 SharingAllowlistAddResponsestart()Issues the request.SharingAllowlistAddBuilderwithDomains(java.util.List<java.lang.String> domains)Set value for optional field.SharingAllowlistAddBuilderwithEmails(java.util.List<java.lang.String> emails)Set value for optional field.
-
-
-
Method Detail
-
withDomains
public SharingAllowlistAddBuilder withDomains(java.util.List<java.lang.String> domains)
Set value for optional field.- Parameters:
domains- List of domains represented by valid string representation (RFC-1034/5). Must not contain anullitem.- Returns:
- this builder
- Throws:
java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
-
withEmails
public SharingAllowlistAddBuilder withEmails(java.util.List<java.lang.String> emails)
Set value for optional field.- Parameters:
emails- List of emails represented by valid string representation (RFC-5322/822). Must not contain anullitem.- Returns:
- this builder
- Throws:
java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
-
start
public SharingAllowlistAddResponse start() throws SharingAllowlistAddErrorException, DbxException
Issues the request.
-
-