public static final class RssChannel.Builder
extends java.lang.Object
public RssChannel.Builder language(RssLanguage language)
language
- The language the channel is written in.public RssChannel.Builder copyright(java.lang.String copyright)
copyright
- Copyright notice for content in the channel.public RssChannel.Builder managingEditor(java.lang.String managingEditor)
managingEditor
- Email address for person responsible for editorial content.public RssChannel.Builder webMaster(java.lang.String webMaster)
webMaster
- Email address for person responsible for technical issues relating to channel.public RssChannel.Builder pubDate(java.time.ZonedDateTime pubDate)
pubDate
- The publication date for the content in the channel.public RssChannel.Builder lastBuildDate(java.time.ZonedDateTime lastBuildDate)
lastBuildDate
- The last time the content of the channel changed.public RssChannel.Builder category(java.util.List<java.util.List<java.lang.String>> category)
category
- a category to associate the RSS Channel with.public RssChannel.Builder generator(java.lang.String generator)
generator
- A string indicating the program used to generate the channel.public RssChannel.Builder docs(java.lang.String docs)
docs
- A URL that points to the documentation for the format used in the RSS file.public RssChannel.Builder cloud(java.lang.String cloud)
cloud
- A cloud.public RssChannel.Builder ttl(java.lang.Integer ttl)
ttl
- time to live expressed in minutes.public RssChannel.Builder image(RssChannelImage image)
image
- GIF, JPEG or PNG image that can be displayed with the channelpublic RssChannel.Builder rating(java.lang.String rating)
rating
- The PICS rating for the channel.public RssChannel.Builder textInput(RssTextInput textInput)
textInput
- a text input boxpublic RssChannel.Builder skipHours(java.util.List<RssSkipHours> skipHours)
skipHours
- a List of RssSkipHours
.public RssChannel.Builder skipDays(java.util.List<RssSkipDays> skipDays)
skipDays
- a List of RssSkipDays
.public RssChannel.Builder item(RssItem item)
item
- An RSS Item.public RssChannel build()