public static final class Profile.Builder extends Object
Builder class for Profile
.
Public Constructor Summary
Builder()
|
Public Method Summary
Profile |
build()
|
Profile.Builder | |
Profile.Builder |
setAdditionalText(String
additionalText)
Returns the additional metadata associated with the profile.
|
Profile.Builder | |
Profile.Builder |
Inherited Method Summary
Public Constructors
public Builder ()
Public Methods
public Profile build ()
public Profile.Builder setAdditionalImage (Image additionalImage)
Returns the additional image associated with the profile. e.g. handle
Optional.
Avatar must be set if additionalImage is set.
public Profile.Builder setAdditionalText (String additionalText)
Returns the additional metadata associated with the profile. e.g. handle
Optional.
Name must be set if additionalText is set.
public Profile.Builder setAvatar (Image avatar)
Returns the avatar associated with the profile.
Required.
public Profile.Builder setName (String name)
Returns the name associated with the profile.
Required.