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