Class JsonHub.Builder

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

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

    • type

      @NonNull public @NonNull JsonHub.Builder type(@NonNull @NonNull String type)
      Parameters:
      type - describes the protocol used to talk to the hub
      Returns:
      The Builder
    • url

      @NonNull public @NonNull JsonHub.Builder url(@NonNull @NonNull String url)
      Parameters:
      url - location where the hub is present
      Returns:
      The Builder
    • build

      @NonNull public @NonNull JsonHub build()