Package com.dropbox.core.v2.users
Class BasicAccount.Builder
java.lang.Object
com.dropbox.core.v2.users.BasicAccount.Builder
- Enclosing class:
BasicAccount
Builder for
BasicAccount.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds an instance ofBasicAccountconfigured with this builder's valueswithProfilePhotoUrl(String profilePhotoUrl) Set value for optional field.withTeamMemberId(String teamMemberId) Set value for optional field.
-
Field Details
-
accountId
-
name
-
email
-
emailVerified
protected final boolean emailVerified -
disabled
protected final boolean disabled -
isTeammate
protected final boolean isTeammate -
profilePhotoUrl
-
teamMemberId
-
-
Constructor Details
-
Builder
-
-
Method Details
-
withProfilePhotoUrl
Set value for optional field.- Parameters:
profilePhotoUrl- URL for the photo representing the user, if one is set.- Returns:
- this builder
-
withTeamMemberId
Set value for optional field.- Parameters:
teamMemberId- The user's unique team member id. This field will only be present if the user is part of a team andBasicAccount.getIsTeammate()istrue.- Returns:
- this builder
-
build
Builds an instance ofBasicAccountconfigured with this builder's values- Returns:
- new instance of
BasicAccount
-