# MovieEntity.Builder

# MovieEntity.Builder

*** ** * ** ***

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

<br />

```
class MovieEntity.Builder
```

<br />

*** ** * ** ***

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

## Summary

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

|                                                          ### Public functions                                                          |
|----------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [MovieEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/MovieEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [addAllAvailabilityTimeWindows](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/MovieEntity.Builder#addAllAvailabilityTimeWindows(java.util.List<com.google.android.engage.common.datamodel.DisplayTimeWindow>))`(` ` availabilityTimeWindows: (`[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)`<`[DisplayTimeWindow](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/DisplayTimeWindow)`!>!` `)` Adds the availability time windows of the video entity.                  |
| [MovieEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/MovieEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [addAvailabilityTimeWindow](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/MovieEntity.Builder#addAvailabilityTimeWindow(com.google.android.engage.common.datamodel.DisplayTimeWindow))`(availabilityTimeWindow: `[DisplayTimeWindow](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/DisplayTimeWindow)`!)` Adds the availability time window of the video entity.                                                                                                                                                                                                                                                       |
| [MovieEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/MovieEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [addContentRating](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/MovieEntity.Builder#addContentRating(com.google.android.engage.video.datamodel.RatingSystem))`(contentRating: `[RatingSystem](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/RatingSystem)`!)` Add the rating system for the movie.                                                                                                                                                                                                                                                                                                                     |
| [MovieEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/MovieEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) ~~[addContentRating](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/MovieEntity.Builder#addContentRating(java.lang.String))~~`(rating: `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!)` **This function is deprecated.** use addContentRating(RatingSystem) instead <br />                                                                                                                                                                                                                                                                                                                                                     |
| [MovieEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/MovieEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [addContentRatings](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/MovieEntity.Builder#addContentRatings(java.util.List<com.google.android.engage.video.datamodel.RatingSystem>))`(contentRatings: (`[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)`<`[RatingSystem](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/RatingSystem)`!>!)` Add the rating systems for the movie.                                                                                             |
| [MovieEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/MovieEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) ~~[addContentRatingsLegacy](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/MovieEntity.Builder#addContentRatingsLegacy(java.util.List<java.lang.String>))~~`(ratings: (`[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)`<`[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!>!)` **This function is deprecated.** use`addContentRatings(List<RatingSystem>)`instead <br />                                                                                                           |
| [MovieEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/MovieEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [addGenre](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/MovieEntity.Builder#addGenre(java.lang.String))`(genre: `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!)` add genre of the movie.                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| [MovieEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/MovieEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [addGenres](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/MovieEntity.Builder#addGenres(java.util.List<java.lang.String>))`(genres: (`[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)`<`[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!>!)` add genres of the movie.                                                                                                                                                                                                             |
| [MovieEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/MovieEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [addPlatformSpecificPlaybackUri](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/MovieEntity.Builder#addPlatformSpecificPlaybackUri(com.google.android.engage.common.datamodel.PlatformSpecificUri))`(` ` platformSpecificPlaybackUri: `[PlatformSpecificUri](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/PlatformSpecificUri)`!` `)` Add platform specific playback uri for the movie entity.                                                                                                                                                                                                                         |
| [MovieEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/MovieEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [addPlatformSpecificPlaybackUris](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/MovieEntity.Builder#addPlatformSpecificPlaybackUris(java.util.List<com.google.android.engage.common.datamodel.PlatformSpecificUri>))`(` ` platformSpecificPlaybackUris: (`[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)`<`[PlatformSpecificUri](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/PlatformSpecificUri)`!>!` `)` Add platform specific playback uris for the movie entity. |
| [MovieEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/MovieEntity.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/MovieEntity.Builder#addPosterImage(com.google.android.engage.common.datamodel.Image))`(image: `[Image](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/Image)`!)` Add a poster image of the entity.                                                                                                                                                                                                                                                                                                                                                       |
| [MovieEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/MovieEntity.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/MovieEntity.Builder#addPosterImages(java.util.List<com.google.android.engage.common.datamodel.Image>))`(images: (`[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)`!>!)` Add poster images of the entity.                                                                                                                                 |
| [MovieEntity](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/MovieEntity)`!`                 | [build](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/MovieEntity.Builder#build())`()`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [MovieEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/MovieEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setAvailability](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/MovieEntity.Builder#setAvailability(int))`(@`[ContentAvailability](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/ContentAvailability)` availability: `[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`)` Sets the availability of the movie.                                                                                                                                                                                                                                                                                |
| [MovieEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/MovieEntity.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/MovieEntity.Builder#setDescription(java.lang.String))`(description: `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`)` Sets the description of the entity.                                                                                                                                                                                                                                                                                                                                                                                                        |
| [MovieEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/MovieEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setDownloadedOnDevice](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/MovieEntity.Builder#setDownloadedOnDevice(boolean))`(downloadedOnDevice: `[Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)`)` Sets a boolean value to indicate if movie is downloaded on device or not.                                                                                                                                                                                                                                                                                                                                                    |
| [MovieEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/MovieEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setDurationMillis](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/MovieEntity.Builder#setDurationMillis(long))`(durationMillis: `[Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)`)` Sets duration of the movie, in milliseconds.                                                                                                                                                                                                                                                                                                                                                                                                      |
| [MovieEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/MovieEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setEntityId](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/MovieEntity.Builder#setEntityId(java.lang.String))`(entityId: `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!)` Sets content id of the entity.                                                                                                                                                                                                                                                                                                                                                                                                                     |
| [MovieEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/MovieEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setInfoPageUri](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/MovieEntity.Builder#setInfoPageUri(android.net.Uri))`(infoPageUri: `[Uri](https://developer.android.com/reference/android/net/Uri.html)`!)` Sets the deeplink to open the details info page.                                                                                                                                                                                                                                                                                                                                                                                                        |
| [MovieEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/MovieEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setLastEngagementTimeMillis](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/MovieEntity.Builder#setLastEngagementTimeMillis(long))`(lastEngagementTimeMillis: `[Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)`)` Sets last engagement time of the entity, in milliseconds since Epoch.                                                                                                                                                                                                                                                                                                                                               |
| [MovieEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/MovieEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setLastPlayBackPositionTimeMillis](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/MovieEntity.Builder#setLastPlayBackPositionTimeMillis(long))`(lastPlayBackPositionTimeMillis: `[Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)`)` Sets last play back position of the video entity, in milliseconds.                                                                                                                                                                                                                                                                                                                                |
| [MovieEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/MovieEntity.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/MovieEntity.Builder#setName(java.lang.String))`(name: `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!)` Sets the name of the entity.                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| [MovieEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/MovieEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setPlayBackUri](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/MovieEntity.Builder#setPlayBackUri(android.net.Uri))`(playBackUri: `[Uri](https://developer.android.com/reference/android/net/Uri.html)`!)` Sets the deeplink to start playing the movie.                                                                                                                                                                                                                                                                                                                                                                                                           |
| [MovieEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/MovieEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setPrice](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/MovieEntity.Builder#setPrice(com.google.android.engage.common.datamodel.Price))`(price: `[Price](https://developer.android.com/reference/kotlin/com/google/android/engage/common/datamodel/Price)`!)` Adds the price of the movie.                                                                                                                                                                                                                                                                                                                                                                        |
| [MovieEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/MovieEntity.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/MovieEntity.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.                                                                                                                                                                                                                                                              |
| [MovieEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/MovieEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setReleaseDateEpochMillis](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/MovieEntity.Builder#setReleaseDateEpochMillis(long))`(releaseDateEpochMillis: `[Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)`)` Sets the release date of the movie, in milliseconds since Epoch.                                                                                                                                                                                                                                                                                                                                                          |
| [MovieEntity.Builder](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/MovieEntity.Builder)`!` | `@`[CanIgnoreReturnValue](https://errorprone.info/api/latest/com/google/errorprone/annotations/CanIgnoreReturnValue.html) [setWatchNextType](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/MovieEntity.Builder#setWatchNextType(int))`(@`[WatchNextType](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/WatchNextType)` watchNextType: `[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`)` Sets the watch next type of the video entity.                                                                                                                                                                                                                                                                                |

## Public constructors

### Builder

```
Builder()
```  

## Public functions

### addAllAvailabilityTimeWindows

```
@CanIgnoreReturnValue
fun addAllAvailabilityTimeWindows(
    availabilityTimeWindows: (Mutable)List<DisplayTimeWindow!>!
): MovieEntity.Builder!
```

Adds the availability time windows of the video entity.

Optional.  

### addAvailabilityTimeWindow

```
@CanIgnoreReturnValue
fun addAvailabilityTimeWindow(availabilityTimeWindow: DisplayTimeWindow!): MovieEntity.Builder!
```

Adds the availability time window of the video entity.

Optional.  

### addContentRating

```
@CanIgnoreReturnValue
fun addContentRating(contentRating: RatingSystem!): MovieEntity.Builder!
```

Add the rating system for the movie.

Required.  

### addContentRating

```
@CanIgnoreReturnValue
fun [addContentRating](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/MovieEntity.Builder#addContentRating(java.lang.String))(rating: String!): MovieEntity.Builder!
```
| **This function is deprecated.**   
|
| use addContentRating(RatingSystem) instead

add content rating of the movie.

Required.  

### addContentRatings

```
@CanIgnoreReturnValue
fun addContentRatings(contentRatings: (Mutable)List<RatingSystem!>!): MovieEntity.Builder!
```

Add the rating systems for the movie.

Required.  

### addContentRatingsLegacy

```
@CanIgnoreReturnValue
fun [addContentRatingsLegacy](https://developer.android.com/reference/kotlin/com/google/android/engage/video/datamodel/MovieEntity.Builder#addContentRatingsLegacy(java.util.List<java.lang.String>))(ratings: (Mutable)List<String!>!): MovieEntity.Builder!
```
| **This function is deprecated.**   
|
| use`addContentRatings(List<RatingSystem>)`instead

add content rating of the movie.

Required.  

### addGenre

```
@CanIgnoreReturnValue
fun addGenre(genre: String!): MovieEntity.Builder!
```

add genre of the movie.

Required.  

### addGenres

```
@CanIgnoreReturnValue
fun addGenres(genres: (Mutable)List<String!>!): MovieEntity.Builder!
```

add genres of the movie.

Optional.  

### addPlatformSpecificPlaybackUri

```
@CanIgnoreReturnValue
fun addPlatformSpecificPlaybackUri(
    platformSpecificPlaybackUri: PlatformSpecificUri!
): MovieEntity.Builder!
```

Add platform specific playback uri for the movie entity.

Optional.  

### addPlatformSpecificPlaybackUris

```
@CanIgnoreReturnValue
fun addPlatformSpecificPlaybackUris(
    platformSpecificPlaybackUris: (Mutable)List<PlatformSpecificUri!>!
): MovieEntity.Builder!
```

Add platform specific playback uris for the movie entity.

Optional.  

### addPosterImage

```
@CanIgnoreReturnValue
fun addPosterImage(image: Image!): MovieEntity.Builder!
```

Add a poster image of the entity.

Required.  

### addPosterImages

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

Add poster images of the entity.

Required.  

### build

```
fun build(): MovieEntity!
```  

### setAvailability

```
@CanIgnoreReturnValue
fun setAvailability(@ContentAvailability availability: Int): MovieEntity.Builder!
```

Sets the availability of the movie.

Required.  

### setDescription

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

Sets the description of the entity.

Optional.  

### setDownloadedOnDevice

```
@CanIgnoreReturnValue
fun setDownloadedOnDevice(downloadedOnDevice: Boolean): MovieEntity.Builder!
```

Sets a boolean value to indicate if movie is downloaded on device or not.

Optional.  

### setDurationMillis

```
@CanIgnoreReturnValue
fun setDurationMillis(durationMillis: Long): MovieEntity.Builder!
```

Sets duration of the movie, in milliseconds.

Required.  

### setEntityId

```
@CanIgnoreReturnValue
fun setEntityId(entityId: String!): MovieEntity.Builder!
```

Sets content id of the entity.

Optional.  

### setInfoPageUri

```
@CanIgnoreReturnValue
fun setInfoPageUri(infoPageUri: Uri!): MovieEntity.Builder!
```

Sets the deeplink to open the details info page.

Optional.  

### setLastEngagementTimeMillis

```
@CanIgnoreReturnValue
fun setLastEngagementTimeMillis(lastEngagementTimeMillis: Long): MovieEntity.Builder!
```

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

Optional.  

### setLastPlayBackPositionTimeMillis

```
@CanIgnoreReturnValue
fun setLastPlayBackPositionTimeMillis(lastPlayBackPositionTimeMillis: Long): MovieEntity.Builder!
```

Sets last play back position of the video entity, in milliseconds.

Optional.  

### setName

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

Sets the name of the entity.

Required.  

### setPlayBackUri

```
@CanIgnoreReturnValue
fun setPlayBackUri(playBackUri: Uri!): MovieEntity.Builder!
```

Sets the deeplink to start playing the movie.

Required.  

### setPrice

```
@CanIgnoreReturnValue
fun setPrice(price: Price!): MovieEntity.Builder!
```

Adds the price of the movie.

Optional.  

### setRecommendationReason

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

Sets the recommendation reason of the entity.

Optional.  

### setReleaseDateEpochMillis

```
@CanIgnoreReturnValue
fun setReleaseDateEpochMillis(releaseDateEpochMillis: Long): MovieEntity.Builder!
```

Sets the release date of the movie, in milliseconds since Epoch.

Optional.  

### setWatchNextType

```
@CanIgnoreReturnValue
fun setWatchNextType(@WatchNextType watchNextType: Int): MovieEntity.Builder!
```

Sets the watch next type of the video entity.

Optional.