MediaActionFeedEntity.Builder


public final class MediaActionFeedEntity.Builder


Builder class for MediaActionFeedEntity.

Summary

Public constructors

Public methods

MediaActionFeedEntity.Builder

Adds a poster image of the entity.

MediaActionFeedEntity.Builder

Adds all poster images of the entity.

MediaActionFeedEntity
MediaActionFeedEntity.Builder

Sets the data feed element ID of the entity.

MediaActionFeedEntity.Builder

Sets the description of the entity.

MediaActionFeedEntity.Builder

Sets the name of the entity.

MediaActionFeedEntity.Builder

Sets the recommendation reason of the entity.

Public constructors

Builder

public Builder()

Public methods

addPosterImage

@CanIgnoreReturnValue
public MediaActionFeedEntity.Builder addPosterImage(@NonNull Image posterImage)

Adds a poster image of the entity.

Optional.

addPosterImages

@CanIgnoreReturnValue
public MediaActionFeedEntity.Builder addPosterImages(@NonNull List<Image> posterImages)

Adds all poster images of the entity.

Optional.

build

public MediaActionFeedEntity build()

setDataFeedElementId

@CanIgnoreReturnValue
public MediaActionFeedEntity.Builder setDataFeedElementId(@NonNull String dataFeedElementId)

Sets the data feed element ID of the entity.

Required.

setDescription

@CanIgnoreReturnValue
public MediaActionFeedEntity.Builder setDescription(@NonNull String description)

Sets the description of the entity.

Optional.

setName

@CanIgnoreReturnValue
public MediaActionFeedEntity.Builder setName(@NonNull String name)

Sets the name of the entity.

Optional.

setRecommendationReason

@CanIgnoreReturnValue
public MediaActionFeedEntity.Builder setRecommendationReason(
    @NonNull RecommendationReason recommendationReason
)

Sets the recommendation reason of the entity.

Optional.