Class ItunesPodcastEpisode.Builder

java.lang.Object
io.micronaut.rss.itunespodcast.ItunesPodcastEpisode.Builder
Enclosing class:
ItunesPodcastEpisode

public static final class ItunesPodcastEpisode.Builder extends Object
  • Method Details

    • build

      @NonNull public @NonNull ItunesPodcastEpisode build()
      Returns:
      A fully constructed ItunesPodcastEpisode
    • episodeType

      @NonNull public @NonNull ItunesPodcastEpisode.Builder episodeType(ItunesPodcastEpisodeType type)
      Populates Episode's type.
      Parameters:
      type - Episode's type
      Returns:
      a Episode Builder
    • title

      @NonNull public @NonNull ItunesPodcastEpisode.Builder title(String title)
      Populates Episode's title.
      Parameters:
      title - Episode's title
      Returns:
      a Episode Builder
    • author

      @NonNull public @NonNull ItunesPodcastEpisode.Builder author(String author)
      Populates Episode's author.
      Parameters:
      author - Episode's author.
      Returns:
      a Episode Builder
    • subtitle

      @NonNull public @NonNull ItunesPodcastEpisode.Builder subtitle(String subtitle)
      Populates Episode's subtitle.
      Parameters:
      subtitle - Episode's subtitle.
      Returns:
      a Episode Builder
    • summary

      @NonNull public @NonNull ItunesPodcastEpisode.Builder summary(String summary)
      Populates Episode's summary.
      Parameters:
      summary - Episode's summary.
      Returns:
      a Episode Builder
    • description

      @NonNull public @NonNull ItunesPodcastEpisode.Builder description(String description)
      Populates Episode's description.
      Parameters:
      description - Episode's description.
      Returns:
      a Episode Builder
    • guid

      @NonNull public @NonNull ItunesPodcastEpisode.Builder guid(String guid)
      Populates Episode unique identifier.
      Parameters:
      guid - Episode unique identifier.
      Returns:
      a Episode Builder
    • pubDate

      @NonNull public @NonNull ItunesPodcastEpisode.Builder pubDate(ZonedDateTime pubDate)
      Populates episode publication date.
      Parameters:
      pubDate - Episode publication date.
      Returns:
      a Episode Builder
    • contentEncoded

      @NonNull public @NonNull ItunesPodcastEpisode.Builder contentEncoded(String contentEncoded)
      Populate episode content encoded.
      Parameters:
      contentEncoded - episode content encoded.
      Returns:
      a Episode Builder
    • enclosure

      @NonNull public @NonNull ItunesPodcastEpisode.Builder enclosure(RssItemEnclosure enclosure)
      Populates Episode's enclosure.
      Parameters:
      enclosure - Episode enclosure.
      Returns:
      a Episode Builder
    • duration

      @NonNull public @NonNull ItunesPodcastEpisode.Builder duration(String duration)
      Populate episode's duration.
      Parameters:
      duration - Episode's duration.
      Returns:
      a Episode Builder
    • explicit

      @NonNull public @NonNull ItunesPodcastEpisode.Builder explicit(boolean explicit)
      Populate Episode explicit flag.
      Parameters:
      explicit - if episode is explicit.
      Returns:
      a Episode Builder
    • episode

      @NonNull public @NonNull ItunesPodcastEpisode.Builder episode(Integer episode)
      Populates episode's number.
      Parameters:
      episode - Episode number
      Returns:
      a Episode Builder
    • season

      @NonNull public @NonNull ItunesPodcastEpisode.Builder season(Integer season)
      Populates episode season number.
      Parameters:
      season - episode season number.
      Returns:
      a Episode Builder
    • image

      @NonNull public @NonNull ItunesPodcastEpisode.Builder image(String image)
      Parameters:
      image - Episode's image
      Returns:
      a Episode Builder