C
- the type of the complete builder.@DoNotImplement public interface Mqtt5SubscribeBuilderBase<C extends Mqtt5SubscribeBuilderBase.Complete<C>>
Mqtt5Subscribe
.Modifier and Type | Interface and Description |
---|---|
static interface |
Mqtt5SubscribeBuilderBase.Complete<C extends Mqtt5SubscribeBuilderBase.Complete<C>>
Mqtt5SubscribeBuilderBase that is complete which means all mandatory fields are set. |
static interface |
Mqtt5SubscribeBuilderBase.Start<C extends Mqtt5SubscribeBuilderBase.Complete<C>,SC extends Mqtt5SubscribeBuilderBase.Start.Complete<C,SC>>
Mqtt5SubscribeBuilderBase that provides additional methods for the first subscription. |
Modifier and Type | Method and Description |
---|---|
Mqtt5SubscriptionBuilder.Nested<? extends C> |
addSubscription()
Fluent counterpart of
addSubscription(Mqtt5Subscription) . |
C |
addSubscription(@NotNull Mqtt5Subscription subscription)
Adds a
Mqtt5Subscription to the list of subscriptions . |
C |
addSubscriptions(@NotNull Collection<? extends Mqtt5Subscription> subscriptions)
Adds a collection of
Mqtt5Subscription s to the list of
subscriptions . |
C |
addSubscriptions(Mqtt5Subscription... subscriptions)
Adds
Mqtt5Subscription s to the list of subscriptions . |
C |
addSubscriptions(@NotNull Stream<? extends Mqtt5Subscription> subscriptions)
Adds a stream of
Mqtt5Subscription s to the list of
subscriptions . |
@CheckReturnValue @NotNull C addSubscription(@NotNull @NotNull Mqtt5Subscription subscription)
Mqtt5Subscription
to the list of subscriptions
. At least
one subscription is mandatory.subscription
- the subscription.@CheckReturnValue Mqtt5SubscriptionBuilder.Nested<? extends C> addSubscription()
addSubscription(Mqtt5Subscription)
.
Calling Mqtt5SubscriptionBuilder.Nested.Complete.applySubscription()
on the returned builder has the same
effect as calling addSubscription(Mqtt5Subscription)
with the result of Mqtt5SubscriptionBuilder.Complete.build()
.
addSubscription(Mqtt5Subscription)
@CheckReturnValue @NotNull C addSubscriptions(@NotNull Mqtt5Subscription... subscriptions)
Mqtt5Subscription
s to the list of subscriptions
. At least
one subscription is mandatory.subscriptions
- the subscriptions.@CheckReturnValue @NotNull C addSubscriptions(@NotNull @NotNull Collection<? extends Mqtt5Subscription> subscriptions)
Mqtt5Subscription
s to the list of
subscriptions
. At least one subscription in the collection is mandatory.subscriptions
- the collection of subscriptions.@CheckReturnValue @NotNull C addSubscriptions(@NotNull @NotNull Stream<? extends Mqtt5Subscription> subscriptions)
Mqtt5Subscription
s to the list of
subscriptions
. At least one subscription is mandatory.subscriptions
- the stream of subscriptions.