Interface Mqtt3SubscriptionBuilderBase<C extends Mqtt3SubscriptionBuilderBase.Complete<C>>
- Type Parameters:
C- the type of the complete builder.
- All Known Subinterfaces:
Mqtt3AsyncClient.Mqtt3SubscribeAndCallbackBuilder.Start,Mqtt3AsyncClient.Mqtt3SubscribeAndCallbackBuilder.Start.Complete,Mqtt3SubscribeBuilder.Nested.Start<P>,Mqtt3SubscribeBuilder.Nested.Start.Complete<P>,Mqtt3SubscribeBuilder.Publishes.Start<P>,Mqtt3SubscribeBuilder.Publishes.Start.Complete<P>,Mqtt3SubscribeBuilder.Send.Start<P>,Mqtt3SubscribeBuilder.Send.Start.Complete<P>,Mqtt3SubscribeBuilder.Start,Mqtt3SubscribeBuilder.Start.Complete,Mqtt3SubscribeBuilderBase.Start<C,,SC> Mqtt3SubscribeBuilderBase.Start.Complete<C,,SC> Mqtt3SubscriptionBuilder,Mqtt3SubscriptionBuilder.Complete,Mqtt3SubscriptionBuilder.Nested<P>,Mqtt3SubscriptionBuilder.Nested.Complete<P>,Mqtt3SubscriptionBuilderBase.Complete<C>
@DoNotImplement
public interface Mqtt3SubscriptionBuilderBase<C extends Mqtt3SubscriptionBuilderBase.Complete<C>>
Builder base for a
Mqtt3Subscription.- Since:
- 1.0
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceMqtt3SubscriptionBuilderBasethat 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:
-