Class MovieDetails.MovieDetailsBuilder<C extends MovieDetails,B extends MovieDetails.MovieDetailsBuilder<C,B>>
java.lang.Object
com.amilesend.tmdb.client.model.Resource.ResourceBuilder<Integer,MovieDetails,C,B>
com.amilesend.tmdb.client.model.movie.type.MovieDetails.MovieDetailsBuilder<C,B>
- Direct Known Subclasses:
GetLatestResponse.GetLatestResponseBuilder,GetMovieDetailsResponse.GetMovieDetailsResponseBuilder
- Enclosing class:
MovieDetails
public abstract static class MovieDetails.MovieDetailsBuilder<C extends MovieDetails,B extends MovieDetails.MovieDetailsBuilder<C,B>>
extends Resource.ResourceBuilder<Integer,MovieDetails,C,B>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadult(boolean adult) Adult flag indicator.backdropPath(String backdropPath) The path to the backdrop image.belongsToCollection(MovieCollection belongsToCollection) The associated movie collection.budget(int budget) The production budget.abstract Cbuild()The list of applicable genres.The movie website.The IMDB identifier.originalLanguage(String originalLanguage) The original language.originalTitle(String originalTitle) The original title.The summary.popularity(double popularity) The popularity rating.posterPath(String posterPath) The path to the poster image.productionCompanies(List<ProductionCompany> productionCompanies) The list of associated production companies.productionCountries(List<ProductionCountry> productionCountries) The list of countries that the movie was produced in.releaseDate(LocalDate releaseDate) The release date.revenue(int revenue) The movie revenue.runtime(int runtime) The movie runtime (in minutes).spokenLanguages(List<Language> spokenLanguages) The list of available spoken languages that are available for the movie (original and dubs).The movie status.The movie tagline.The movie title.toString()video(boolean video) Video flag indicator.voteAverage(double voteAverage) Vote rating average.voteCount(int voteCount) The total vote count.Methods inherited from class com.amilesend.tmdb.client.model.Resource.ResourceBuilder
id
-
Constructor Details
-
MovieDetailsBuilder
public MovieDetailsBuilder()
-
-
Method Details
-
adult
Adult flag indicator.- Returns:
this.
-
backdropPath
The path to the backdrop image.- Returns:
this.
-
belongsToCollection
The associated movie collection.- Returns:
this.
-
budget
The production budget.- Returns:
this.
-
genres
The list of applicable genres.- Returns:
this.- See Also:
-
homepage
The movie website.- Returns:
this.
-
imdbId
The IMDB identifier.- Returns:
this.
-
originalLanguage
The original language.- Returns:
this.
-
originalTitle
The original title.- Returns:
this.
-
overview
The summary.- Returns:
this.
-
popularity
The popularity rating.- Returns:
this.
-
posterPath
The path to the poster image.- Returns:
this.
-
productionCompanies
The list of associated production companies.- Returns:
this.- See Also:
-
productionCountries
The list of countries that the movie was produced in.- Returns:
this.- See Also:
-
releaseDate
The release date.- Returns:
this.
-
revenue
The movie revenue.- Returns:
this.
-
runtime
The movie runtime (in minutes).- Returns:
this.
-
spokenLanguages
The list of available spoken languages that are available for the movie (original and dubs).- Returns:
this.
-
status
The movie status.- Returns:
this.
-
tagline
The movie tagline.- Returns:
this.
-
title
The movie title.- Returns:
this.
-
video
Video flag indicator.- Returns:
this.
-
voteAverage
Vote rating average.- Returns:
this.
-
voteCount
The total vote count.- Returns:
this.
-
build
- Specified by:
buildin classResource.ResourceBuilder<Integer,MovieDetails, C extends MovieDetails, B extends MovieDetails.MovieDetailsBuilder<C, B>>
-
toString
- Overrides:
toStringin classResource.ResourceBuilder<Integer,MovieDetails, C extends MovieDetails, B extends MovieDetails.MovieDetailsBuilder<C, B>>
-