@DoNotImplement public interface Mqtt5PubCompBuilder
Mqtt5PubComp
.Modifier and Type | Method and Description |
---|---|
@NotNull Mqtt5PubCompReasonCode |
getReasonCode() |
@NotNull Mqtt5PubCompBuilder |
reasonString(@Nullable MqttUtf8String reasonString)
Set the optional
Reason String . |
@NotNull Mqtt5PubCompBuilder |
reasonString(@Nullable String reasonString)
Set the optional
Reason String . |
Mqtt5UserPropertiesBuilder.Nested<? extends Mqtt5PubCompBuilder> |
userProperties()
Fluent counterpart of
userProperties(Mqtt5UserProperties) . |
@NotNull Mqtt5PubCompBuilder |
userProperties(@NotNull Mqtt5UserProperties userProperties)
Sets the
User Properties . |
@NotNull @NotNull Mqtt5PubCompBuilder reasonString(@Nullable @Nullable String reasonString)
Reason String
.reasonString
- the Reason String or null
to remove any previously set Reason String.@NotNull @NotNull Mqtt5PubCompBuilder reasonString(@Nullable @Nullable MqttUtf8String reasonString)
Reason String
.reasonString
- the Reason String or null
to remove any previously set Reason String.@NotNull @NotNull Mqtt5PubCompBuilder userProperties(@NotNull @NotNull Mqtt5UserProperties userProperties)
User Properties
.userProperties
- the User Properties.@CheckReturnValue Mqtt5UserPropertiesBuilder.Nested<? extends Mqtt5PubCompBuilder> userProperties()
userProperties(Mqtt5UserProperties)
.
Calling Mqtt5UserPropertiesBuilder.Nested#applyUserProperties()
on the returned builder has the effect of
extending
the current User Properties.
userProperties(Mqtt5UserProperties)
@NotNull @NotNull Mqtt5PubCompReasonCode getReasonCode()