C
- the type of the complete builder.@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.Mqtt5SubscriptionBuilderBase.Complete<C extends Mqtt5SubscriptionBuilderBase.Complete<C>>
Modifier and Type | Method and Description |
---|---|
C |
noLocal(boolean noLocal)
Sets whether the subscription is
not local . |
C |
qos(@NotNull MqttQos qos)
Sets the
QoS . |
C |
retainAsPublished(boolean retainAsPublished)
Sets whether the Publish messages for the subscription are
published with the retain flag . |
C |
retainHandling(@NotNull Mqtt5RetainHandling retainHandling)
Sets the
retain handling . |
topicFilter, topicFilter, topicFilter
@CheckReturnValue @NotNull C qos(@NotNull @NotNull MqttQos qos)
QoS
.qos
- the QoS.@CheckReturnValue @NotNull C noLocal(boolean noLocal)
not local
.noLocal
- whether the subscription is not local.@CheckReturnValue @NotNull C retainHandling(@NotNull @NotNull Mqtt5RetainHandling retainHandling)
retain handling
.retainHandling
- the retain handling.@CheckReturnValue @NotNull C retainAsPublished(boolean retainAsPublished)
published with the retain flag
.retainAsPublished
- whether the Publish messages for the subscription are published with the retain
flag.