Class TvShow.TvShowBuilder<C extends TvShow,B extends TvShow.TvShowBuilder<C,B>>

Enclosing class:
TvShow

public abstract static class TvShow.TvShowBuilder<C extends TvShow,B extends TvShow.TvShowBuilder<C,B>> extends NamedResource.NamedResourceBuilder<Integer,TvShow,C,B>
  • Constructor Details

    • TvShowBuilder

      public TvShowBuilder()
  • Method Details

    • backdropPath

      public B backdropPath(String backdropPath)
      The relative path to the backdrop image.
      Returns:
      this.
    • firstAirDate

      public B firstAirDate(LocalDate firstAirDate)
      The first air date for the TV show.
      Returns:
      this.
    • genreIds

      public B genreIds(List<Integer> genreIds)
      The list of genre identifiers.
      Returns:
      this.
    • originCountry

      public B originCountry(List<String> originCountry)
      The list of countries.
      Returns:
      this.
    • originalLanguage

      public B originalLanguage(String originalLanguage)
      The original airing language.
      Returns:
      this.
    • originalName

      public B originalName(String originalName)
      The original airing name.
      Returns:
      this.
    • overview

      public B overview(String overview)
      Overview describing the show.
      Returns:
      this.
    • popularity

      public B popularity(Double popularity)
      The popularity score.
      Returns:
      this.
    • posterPath

      public B posterPath(String posterPath)
      The relative path to the poster image.
      Returns:
      this.
    • voteAverage

      public B voteAverage(Double voteAverage)
      The average vote rating.
      Returns:
      this.
    • voteCount

      public B voteCount(Integer voteCount)
      The total number of votes.
      Returns:
      this.
    • build

      public abstract C build()
      Specified by:
      build in class NamedResource.NamedResourceBuilder<Integer,TvShow,C extends TvShow,B extends TvShow.TvShowBuilder<C,B>>
    • toString

      public String toString()
      Overrides:
      toString in class NamedResource.NamedResourceBuilder<Integer,TvShow,C extends TvShow,B extends TvShow.TvShowBuilder<C,B>>