MusicArtistEntity.Builder


public final class MusicArtistEntity.Builder


Builder class for MusicArtistEntity.

Summary

Public constructors

Public methods

MusicArtistEntity.Builder

Add a poster image of the entity.

MusicArtistEntity.Builder

Add poster images of the entity.

MusicArtistEntity
MusicArtistEntity.Builder

Adds the description of the audio entity.

MusicArtistEntity.Builder

Sets content id of the entity.

MusicArtistEntity.Builder

Sets the info page uri of the music artist.

MusicArtistEntity.Builder
@CanIgnoreReturnValue
setLastEngagementTimeMillis(long lastEngagementTimeMillis)

Sets last engagement time of the entity, in milliseconds since Epoch.

MusicArtistEntity.Builder

Sets the name of the entity.

MusicArtistEntity.Builder

Sets the playback uri of the music artist.

Public constructors

Builder

public Builder()

Public methods

addPosterImage

@CanIgnoreReturnValue
public MusicArtistEntity.Builder addPosterImage(Image image)

Add a poster image of the entity.

Required.

addPosterImages

@CanIgnoreReturnValue
public MusicArtistEntity.Builder addPosterImages(List<Image> images)

Add poster images of the entity.

Required.

build

public MusicArtistEntity build()

setDescription

@CanIgnoreReturnValue
public MusicArtistEntity.Builder setDescription(String description)

Adds the description of the audio entity.

Optional.

setEntityId

@CanIgnoreReturnValue
public MusicArtistEntity.Builder setEntityId(String entityId)

Sets content id of the entity.

Optional.

setInfoPageUri

@CanIgnoreReturnValue
public MusicArtistEntity.Builder setInfoPageUri(Uri infoPageUri)

Sets the info page uri of the music artist.

Required.

setLastEngagementTimeMillis

@CanIgnoreReturnValue
public MusicArtistEntity.Builder setLastEngagementTimeMillis(long lastEngagementTimeMillis)

Sets last engagement time of the entity, in milliseconds since Epoch.

Optional.

setName

@CanIgnoreReturnValue
public MusicArtistEntity.Builder setName(String name)

Sets the name of the entity.

Required.

setPlayBackUri

@CanIgnoreReturnValue
public MusicArtistEntity.Builder setPlayBackUri(Uri playBackUri)

Sets the playback uri of the music artist.

Optional.