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