UserSettingsCardEntity.Builder


public final class UserSettingsCardEntity.Builder


Builder class for UserSettingsCardEntity.

Summary

Public constructors

Public methods

UserSettingsCardEntity.Builder

Add a poster image of the entity.

UserSettingsCardEntity.Builder

Add poster images of the entity.

UserSettingsCardEntity
UserSettingsCardEntity.Builder

Sets the action text of the Engagement entity.

UserSettingsCardEntity.Builder

Sets the action uri of the Engagement entity.

UserSettingsCardEntity.Builder

Sets content id of the entity.

UserSettingsCardEntity.Builder

Sets the subtitle of the Engagement entity.

UserSettingsCardEntity.Builder

Sets the title of the Engagement entity.

Public constructors

Builder

public Builder()

Public methods

addPosterImage

@CanIgnoreReturnValue
public UserSettingsCardEntity.Builder addPosterImage(Image image)

Add a poster image of the entity.

Required.

addPosterImages

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

Add poster images of the entity.

Required.

build

public UserSettingsCardEntity build()

setActionText

@CanIgnoreReturnValue
public UserSettingsCardEntity.Builder setActionText(String actionText)

Sets the action text of the Engagement entity.

Required.

setActionUri

@CanIgnoreReturnValue
public UserSettingsCardEntity.Builder setActionUri(Uri actionUri)

Sets the action uri of the Engagement entity.

Required.

setEntityId

@CanIgnoreReturnValue
public UserSettingsCardEntity.Builder setEntityId(String entityId)

Sets content id of the entity.

Optional.

setSubtitle

@CanIgnoreReturnValue
public UserSettingsCardEntity.Builder setSubtitle(String subtitle)

Sets the subtitle of the Engagement entity.

Optional.

setTitle

@CanIgnoreReturnValue
public UserSettingsCardEntity.Builder setTitle(String title)

Sets the title of the Engagement entity.

Optional.