# MediaActionFeedEntity.Builder

# MediaActionFeedEntity.Builder

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/com/google/android/engage/video/datamodel/MediaActionFeedEntity.Builder "View this page in Java")  

<br />

```
class MediaActionFeedEntity.Builder
```

<br />

*** ** * ** ***

Builder class for[MediaActionFeedEntity](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/MediaActionFeedEntity).

## Summary

|                                                             ### Public constructors                                                             |
|-------------------------------------------------------------------------------------------------------------------------------------------------|
| [Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/MediaActionFeedEntity.Builder#Builder())`()` |

|                                                                    ### Public functions                                                                    |
|------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [MediaActionFeedEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/MediaActionFeedEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [addPosterImage](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/MediaActionFeedEntity.Builder#addPosterImage(com.google.android.engage.common.datamodel.Image))`(posterImage: `[Image](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/Image)`)` Adds a poster image of the entity.                                                                                                                                                                                                                           |
| [MediaActionFeedEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/MediaActionFeedEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [addPosterImages](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/MediaActionFeedEntity.Builder#addPosterImages(java.util.List<com.google.android.engage.common.datamodel.Image>))`(posterImages: (`[Mutable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html)`)`[List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)`<`[Image](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/Image)`!>)` Adds all poster images of the entity. |
| [MediaActionFeedEntity](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/MediaActionFeedEntity)`!`                 | [build](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/MediaActionFeedEntity.Builder#build())`()`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| [MediaActionFeedEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/MediaActionFeedEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setDataFeedElementId](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/MediaActionFeedEntity.Builder#setDataFeedElementId(java.lang.String))`(dataFeedElementId: `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`)` Sets the data feed element ID of the entity.                                                                                                                                                                                                                                                       |
| [MediaActionFeedEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/MediaActionFeedEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setDescription](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/MediaActionFeedEntity.Builder#setDescription(java.lang.String))`(description: `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`)` Sets the description of the entity.                                                                                                                                                                                                                                                                                  |
| [MediaActionFeedEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/MediaActionFeedEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setName](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/MediaActionFeedEntity.Builder#setName(java.lang.String))`(name: `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`)` Sets the name of the entity.                                                                                                                                                                                                                                                                                                              |
| [MediaActionFeedEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/MediaActionFeedEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setRecommendationReason](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/MediaActionFeedEntity.Builder#setRecommendationReason(com.google.android.engage.common.datamodel.RecommendationReason))`(recommendationReason: `[RecommendationReason](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/RecommendationReason)`)` Sets the recommendation reason of the entity.                                                                                                                                        |

## Public constructors

### Builder

```
Builder()
```  

## Public functions

### addPosterImage

```
@CanIgnoreReturnValue
fun addPosterImage(posterImage: Image): MediaActionFeedEntity.Builder!
```

Adds a poster image of the entity.

Optional.  

### addPosterImages

```
@CanIgnoreReturnValue
fun addPosterImages(posterImages: (Mutable)List<Image!>): MediaActionFeedEntity.Builder!
```

Adds all poster images of the entity.

Optional.  

### build

```
fun build(): MediaActionFeedEntity!
```  

### setDataFeedElementId

```
@CanIgnoreReturnValue
fun setDataFeedElementId(dataFeedElementId: String): MediaActionFeedEntity.Builder!
```

Sets the data feed element ID of the entity.

Required.  

### setDescription

```
@CanIgnoreReturnValue
fun setDescription(description: String): MediaActionFeedEntity.Builder!
```

Sets the description of the entity.

Optional.  

### setName

```
@CanIgnoreReturnValue
fun setName(name: String): MediaActionFeedEntity.Builder!
```

Sets the name of the entity.

Optional.  

### setRecommendationReason

```
@CanIgnoreReturnValue
fun setRecommendationReason(recommendationReason: RecommendationReason): MediaActionFeedEntity.Builder!
```

Sets the recommendation reason of the entity.

Optional.