Package io.micronaut.rss.jsonfeed
Class JsonFeedAuthor.Builder
java.lang.Object
io.micronaut.rss.jsonfeed.JsonFeedAuthor.Builder
- Enclosing class:
- JsonFeedAuthor
JSON Feed Author's Builder.
-
Method Summary
Modifier and TypeMethodDescription@NonNull JsonFeedAuthor.BuilderThe URL for an image for the author.@NonNull JsonFeedAuthorbuild()@NonNull JsonFeedAuthor.BuilderName of the author.@NonNull JsonFeedAuthor.BuilderThe URL of a site owned by the author.
-
Method Details
-
name
Name of the author.- Parameters:
name- name of the author- Returns:
- Builder
-
url
The URL of a site owned by the author.- Parameters:
url- the URL of a site owned by the author- Returns:
- Builder
-
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
-