public class MembersSetProfileBuilder extends Object
DbxTeamTeamRequests.membersSetProfileBuilder(com.dropbox.core.v2.team.UserSelectorArg)
.
Use this class to set optional request parameters and complete the request.
Modifier and Type | Method and Description |
---|---|
TeamMemberInfo |
start()
Issues the request.
|
MembersSetProfileBuilder |
withNewEmail(String newEmail)
Set value for optional field.
|
MembersSetProfileBuilder |
withNewExternalId(String newExternalId)
Set value for optional field.
|
MembersSetProfileBuilder |
withNewGivenName(String newGivenName)
Set value for optional field.
|
MembersSetProfileBuilder |
withNewSurname(String newSurname)
Set value for optional field.
|
public MembersSetProfileBuilder withNewEmail(String newEmail)
newEmail
- New email for member. Must have length of at most 255
and match pattern "^['&A-Za-z0-9._%+-]+@[A-Za-z0-9-][A-Za-z0-9.-]*.[A-Za-z]{2,15}$
".IllegalArgumentException
- If any argument does not meet its
preconditions.public MembersSetProfileBuilder withNewExternalId(String newExternalId)
newExternalId
- New external ID for member. Must have length of at
most 64.IllegalArgumentException
- If any argument does not meet its
preconditions.public MembersSetProfileBuilder withNewGivenName(String newGivenName)
newGivenName
- New given name for member. Must have length of at
least 1, have length of at most 100, and match pattern "[^/:?*<>\"|]*
".IllegalArgumentException
- If any argument does not meet its
preconditions.public MembersSetProfileBuilder withNewSurname(String newSurname)
newSurname
- New surname for member. Must have length of at least
1, have length of at most 100, and match pattern "[^/:?*<>\"|]*
".IllegalArgumentException
- If any argument does not meet its
preconditions.public TeamMemberInfo start() throws MembersSetProfileErrorException, DbxException