Package com.dropbox.core.v2.users
Class BasicAccount.Builder
- java.lang.Object
- 
- com.dropbox.core.v2.users.BasicAccount.Builder
 
- 
- Enclosing class:
- BasicAccount
 
 public static class BasicAccount.Builder extends java.lang.ObjectBuilder forBasicAccount.
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.lang.StringaccountIdprotected booleandisabledprotected java.lang.Stringemailprotected booleanemailVerifiedprotected booleanisTeammateprotected Namenameprotected java.lang.StringprofilePhotoUrlprotected java.lang.StringteamMemberId
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description BasicAccountbuild()Builds an instance ofBasicAccountconfigured with this builder's valuesBasicAccount.BuilderwithProfilePhotoUrl(java.lang.String profilePhotoUrl)Set value for optional field.BasicAccount.BuilderwithTeamMemberId(java.lang.String teamMemberId)Set value for optional field.
 
- 
- 
- 
Field Detail- 
accountIdprotected final java.lang.String accountId 
 - 
nameprotected final Name name 
 - 
emailprotected final java.lang.String email 
 - 
emailVerifiedprotected final boolean emailVerified 
 - 
disabledprotected final boolean disabled 
 - 
isTeammateprotected final boolean isTeammate 
 - 
profilePhotoUrlprotected java.lang.String profilePhotoUrl 
 - 
teamMemberIdprotected java.lang.String teamMemberId 
 
- 
 - 
Constructor Detail- 
Builderprotected Builder(java.lang.String accountId, Name name, java.lang.String email, boolean emailVerified, boolean disabled, boolean isTeammate)
 
- 
 - 
Method Detail- 
withProfilePhotoUrlpublic BasicAccount.Builder withProfilePhotoUrl(java.lang.String profilePhotoUrl) Set value for optional field.- Parameters:
- profilePhotoUrl- URL for the photo representing the user, if one is set.
- Returns:
- this builder
 
 - 
withTeamMemberIdpublic BasicAccount.Builder withTeamMemberId(java.lang.String teamMemberId) 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 and- BasicAccount.getIsTeammate()is- true.
- Returns:
- this builder
 
 - 
buildpublic BasicAccount build() Builds an instance ofBasicAccountconfigured with this builder's values- Returns:
- new instance of BasicAccount
 
 
- 
 
-