public abstract class MqttSubscribeBuilder<B extends MqttSubscribeBuilder<B>>
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
MqttSubscribeBuilder.Default |
static class |
MqttSubscribeBuilder.Nested<P> |
static class |
MqttSubscribeBuilder.Send<P> |
Modifier | Constructor and Description |
---|---|
protected |
MqttSubscribeBuilder() |
Modifier and Type | Method and Description |
---|---|
MqttSubscriptionBuilder.Nested<B> |
addSubscription() |
B |
addSubscription(@Nullable Mqtt5Subscription subscription) |
@NotNull MqttSubscribe |
build() |
B |
noLocal(boolean noLocal) |
B |
qos(@Nullable MqttQos qos) |
B |
retainAsPublished(boolean retainAsPublished) |
B |
retainHandling(@Nullable Mqtt5RetainHandling retainHandling) |
protected abstract B |
self() |
MqttTopicFilterImplBuilder.Nested<B> |
topicFilter() |
B |
topicFilter(@Nullable MqttTopicFilter topicFilter) |
B |
topicFilter(@Nullable java.lang.String topicFilter) |
MqttUserPropertiesImplBuilder.Nested<B> |
userProperties() |
B |
userProperties(@Nullable Mqtt5UserProperties userProperties) |
@NotNull protected abstract B self()
@NotNull public B addSubscription(@Nullable @Nullable Mqtt5Subscription subscription)
@NotNull public MqttSubscriptionBuilder.Nested<B> addSubscription()
@NotNull public B userProperties(@Nullable @Nullable Mqtt5UserProperties userProperties)
@NotNull public MqttUserPropertiesImplBuilder.Nested<B> userProperties()
@NotNull public B topicFilter(@Nullable @Nullable java.lang.String topicFilter)
@NotNull public B topicFilter(@Nullable @Nullable MqttTopicFilter topicFilter)
@NotNull public MqttTopicFilterImplBuilder.Nested<B> topicFilter()
@NotNull public B noLocal(boolean noLocal)
@NotNull public B retainHandling(@Nullable @Nullable Mqtt5RetainHandling retainHandling)
@NotNull public B retainAsPublished(boolean retainAsPublished)
@NotNull public @NotNull MqttSubscribe build()