Profile.Builder

public final class Profile.Builder


Builder class for Profile.

Summary

Public constructors

Public methods

Profile
Profile.Builder

Returns the additional image associated with the profile. e.g. handle

Profile.Builder

Returns the additional metadata associated with the profile. e.g. handle

Profile.Builder

Returns the avatar associated with the profile.

Profile.Builder

Returns the name associated with the profile.

Public constructors

Builder

public Builder()

Public methods

build

public Profile build()

setAdditionalImage

@CanIgnoreReturnValue
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.

setAdditionalText

@CanIgnoreReturnValue
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.

setAvatar

@CanIgnoreReturnValue
public Profile.Builder setAvatar(Image avatar)

Returns the avatar associated with the profile.

Required.

setName

@CanIgnoreReturnValue
public Profile.Builder setName(String name)

Returns the name associated with the profile.

Required.