C
- the type of the complete builder.@DoNotImplement public interface Mqtt5SubscriptionBuilderBase<C extends Mqtt5SubscriptionBuilderBase.Complete<C>>
Mqtt5Subscription
.Modifier and Type | Interface and Description |
---|---|
static interface |
Mqtt5SubscriptionBuilderBase.Complete<C extends Mqtt5SubscriptionBuilderBase.Complete<C>>
Mqtt5SubscriptionBuilderBase that is complete which means all mandatory fields are set. |
Modifier and Type | Method and Description |
---|---|
MqttTopicFilterBuilder.Nested<? extends C> |
topicFilter()
Fluent counterpart of
topicFilter(MqttTopicFilter) . |
C |
topicFilter(@NotNull MqttTopicFilter topicFilter)
Sets the mandatory
Topic Filter . |
C |
topicFilter(@NotNull java.lang.String topicFilter)
Sets the mandatory
Topic Filter . |
@CheckReturnValue @NotNull C topicFilter(@NotNull @NotNull java.lang.String topicFilter)
Topic Filter
.topicFilter
- the string representation of the Topic Filter.@CheckReturnValue @NotNull C topicFilter(@NotNull @NotNull MqttTopicFilter topicFilter)
Topic Filter
.topicFilter
- the Topic Filter.@CheckReturnValue @NotNull MqttTopicFilterBuilder.Nested<? extends C> topicFilter()
topicFilter(MqttTopicFilter)
.
Calling MqttTopicFilterBuilder.Nested.Complete#applyTopicFilter()
on the returned builder has the same
effect as calling topicFilter(MqttTopicFilter)
with the result of MqttTopicFilterBuilder.Complete#build()
.
topicFilter(MqttTopicFilter)