Interface Mqtt5SubscriptionBuilderBase.Complete<C extends Mqtt5SubscriptionBuilderBase.Complete<C>>
- Type Parameters:
C- the type of the complete builder.
- All Superinterfaces:
Mqtt5SubscriptionBuilderBase<C>
- All Known Subinterfaces:
Mqtt5AsyncClient.Mqtt5SubscribeAndCallbackBuilder.Start.Complete,Mqtt5SubscribeBuilder.Nested.Start.Complete<P>,Mqtt5SubscribeBuilder.Publishes.Start.Complete<P>,Mqtt5SubscribeBuilder.Send.Start.Complete<P>,Mqtt5SubscribeBuilder.Start.Complete,Mqtt5SubscribeBuilderBase.Start.Complete<C,,SC> Mqtt5SubscriptionBuilder.Complete,Mqtt5SubscriptionBuilder.Nested.Complete<P>
- Enclosing interface:
Mqtt5SubscriptionBuilderBase<C extends Mqtt5SubscriptionBuilderBase.Complete<C>>
@DoNotImplement
public static interface Mqtt5SubscriptionBuilderBase.Complete<C extends Mqtt5SubscriptionBuilderBase.Complete<C>>
extends Mqtt5SubscriptionBuilderBase<C>
Mqtt5SubscriptionBuilderBase that is complete which means all mandatory fields are set.-
Nested Class Summary
Nested classes/interfaces inherited from interface com.hivemq.client.mqtt.mqtt5.message.subscribe.Mqtt5SubscriptionBuilderBase
Mqtt5SubscriptionBuilderBase.Complete<C extends Mqtt5SubscriptionBuilderBase.Complete<C>> -
Method Summary
Modifier and TypeMethodDescriptionnoLocal(boolean noLocal) Sets whether the subscription isnot local.Sets theQoS.retainAsPublished(boolean retainAsPublished) Sets whether the Publish messages for the subscription arepublished with the retain flag.retainHandling(@NotNull Mqtt5RetainHandling retainHandling) Sets theretain handling.Methods inherited from interface com.hivemq.client.mqtt.mqtt5.message.subscribe.Mqtt5SubscriptionBuilderBase
topicFilter, topicFilter, topicFilter
-
Method Details
-
qos
Sets theQoS.- Parameters:
qos- the QoS.- Returns:
- the builder.
-
noLocal
Sets whether the subscription isnot local.- Parameters:
noLocal- whether the subscription is not local.- Returns:
- the builder.
-
retainHandling
Sets theretain handling.- Parameters:
retainHandling- the retain handling.- Returns:
- the builder.
-
retainAsPublished
Sets whether the Publish messages for the subscription arepublished with the retain flag.- Parameters:
retainAsPublished- whether the Publish messages for the subscription are published with the retain flag.- Returns:
- the builder.
-