public class MembersSetProfileBuilder
extends java.lang.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(java.lang.String newEmail)
Set value for optional field.
|
MembersSetProfileBuilder |
withNewExternalId(java.lang.String newExternalId)
Set value for optional field.
|
MembersSetProfileBuilder |
withNewGivenName(java.lang.String newGivenName)
Set value for optional field.
|
MembersSetProfileBuilder |
withNewIsDirectoryRestricted(java.lang.Boolean newIsDirectoryRestricted)
Set value for optional field.
|
MembersSetProfileBuilder |
withNewPersistentId(java.lang.String newPersistentId)
Set value for optional field.
|
MembersSetProfileBuilder |
withNewSurname(java.lang.String newSurname)
Set value for optional field.
|
public MembersSetProfileBuilder withNewEmail(java.lang.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}$
".java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public MembersSetProfileBuilder withNewExternalId(java.lang.String newExternalId)
newExternalId
- New external ID for member. Must have length of at
most 64.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public MembersSetProfileBuilder withNewGivenName(java.lang.String newGivenName)
newGivenName
- New given name for member. Must have length of at
most 100 and match pattern "[^/:?*<>\"|]*
".java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public MembersSetProfileBuilder withNewSurname(java.lang.String newSurname)
newSurname
- New surname for member. Must have length of at most
100 and match pattern "[^/:?*<>\"|]*
".java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public MembersSetProfileBuilder withNewPersistentId(java.lang.String newPersistentId)
newPersistentId
- New persistent ID. This field only available to
teams using persistent ID SAML configuration.public MembersSetProfileBuilder withNewIsDirectoryRestricted(java.lang.Boolean newIsDirectoryRestricted)
newIsDirectoryRestricted
- New value for whether the user is a
directory restricted user.public TeamMemberInfo start() throws MembersSetProfileErrorException, DbxException