Class JsonFeedAuthor.Builder

java.lang.Object
io.micronaut.rss.jsonfeed.JsonFeedAuthor.Builder
Enclosing class:
JsonFeedAuthor

public static final class JsonFeedAuthor.Builder extends Object
JSON Feed Author's Builder.
  • Method Details

    • name

      @NonNull public @NonNull JsonFeedAuthor.Builder name(@Nullable @Nullable String name)
      Name of the author.
      Parameters:
      name - name of the author
      Returns:
      Builder
    • url

      @NonNull public @NonNull JsonFeedAuthor.Builder url(@Nullable @Nullable String url)
      The URL of a site owned by the author.
      Parameters:
      url - the URL of a site owned by the author
      Returns:
      Builder
    • avatar

      @NonNull public @NonNull JsonFeedAuthor.Builder avatar(@Nullable @Nullable String avatar)
      The URL for an image for the author. It should be square and relatively large such as 512 x 512 pixels and should use transparency where appropriate, since it may be rendered on a non-white background.
      Parameters:
      avatar - the URL for an image for the author.
      Returns:
      Builder
    • build

      @NonNull public @NonNull JsonFeedAuthor build()