C - the type of the complete builder.@DoNotImplement public interface Mqtt5PublishBuilderBase<C extends Mqtt5PublishBuilderBase.Complete<C>>
Mqtt5Publish.| Modifier and Type | Interface and Description |
|---|---|
static interface |
Mqtt5PublishBuilderBase.Complete<C extends Mqtt5PublishBuilderBase.Complete<C>>
Mqtt5PublishBuilderBase that is complete which means all mandatory fields are set. |
static interface |
Mqtt5PublishBuilderBase.WillBase<C extends Mqtt5PublishBuilderBase.WillBase.Complete<C>>
Builder base for a
Mqtt5WillPublish. |
| Modifier and Type | Method and Description |
|---|---|
MqttTopicBuilder.Nested<? extends C> |
topic()
Fluent counterpart of
topic(MqttTopic). |
C |
topic(@NotNull MqttTopic topic)
Sets the mandatory
Topic. |
C |
topic(@NotNull String topic)
Sets the mandatory
Topic. |
@CheckReturnValue @NotNull C topic(@NotNull @NotNull String topic)
Topic.topic - the string representation of the Topic.@CheckReturnValue @NotNull C topic(@NotNull @NotNull MqttTopic topic)
Topic.topic - the Topic.@CheckReturnValue MqttTopicBuilder.Nested<? extends C> topic()
topic(MqttTopic).
Calling MqttTopicBuilder.Nested.Complete#applyTopic() on the returned builder has the same effect as
calling topic(MqttTopic) with the result of MqttTopicBuilder.Complete#build().
topic(MqttTopic)