Interface Mqtt5SubscriptionBuilderBase<C extends Mqtt5SubscriptionBuilderBase.Complete<C>>
- Type Parameters:
C- the type of the complete builder.
- All Known Subinterfaces:
Mqtt5AsyncClient.Mqtt5SubscribeAndCallbackBuilder.Start,Mqtt5AsyncClient.Mqtt5SubscribeAndCallbackBuilder.Start.Complete,Mqtt5SubscribeBuilder.Nested.Start<P>,Mqtt5SubscribeBuilder.Nested.Start.Complete<P>,Mqtt5SubscribeBuilder.Publishes.Start<P>,Mqtt5SubscribeBuilder.Publishes.Start.Complete<P>,Mqtt5SubscribeBuilder.Send.Start<P>,Mqtt5SubscribeBuilder.Send.Start.Complete<P>,Mqtt5SubscribeBuilder.Start,Mqtt5SubscribeBuilder.Start.Complete,Mqtt5SubscribeBuilderBase.Start<C,,SC> Mqtt5SubscribeBuilderBase.Start.Complete<C,,SC> Mqtt5SubscriptionBuilder,Mqtt5SubscriptionBuilder.Complete,Mqtt5SubscriptionBuilder.Nested<P>,Mqtt5SubscriptionBuilder.Nested.Complete<P>,Mqtt5SubscriptionBuilderBase.Complete<C>
@DoNotImplement
public interface Mqtt5SubscriptionBuilderBase<C extends Mqtt5SubscriptionBuilderBase.Complete<C>>
Builder base for a
Mqtt5Subscription.- Since:
- 1.0
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceMqtt5SubscriptionBuilderBasethat is complete which means all mandatory fields are set. -
Method Summary
Modifier and TypeMethodDescription@NotNull MqttTopicFilterBuilder.Nested<? extends C> Fluent counterpart oftopicFilter(MqttTopicFilter).topicFilter(@NotNull MqttTopicFilter topicFilter) Sets the mandatoryTopic Filter.topicFilter(@NotNull String topicFilter) Sets the mandatoryTopic Filter.
-
Method Details
-
topicFilter
Sets the mandatoryTopic Filter.- Parameters:
topicFilter- the string representation of the Topic Filter.- Returns:
- the builder that is now complete as the mandatory Topic Filter is set.
-
topicFilter
Sets the mandatoryTopic Filter.- Parameters:
topicFilter- the Topic Filter.- Returns:
- the builder that is now complete as the mandatory Topic Filter is set.
-
topicFilter
Fluent counterpart oftopicFilter(MqttTopicFilter).Calling
MqttTopicFilterBuilder.Nested.End.applyTopicFilter()on the returned builder has the same effect as callingtopicFilter(MqttTopicFilter)with the result ofMqttTopicFilterBuilder.End.build().- Returns:
- the fluent builder for the Topic Filter.
- See Also:
-