Interface Mqtt5PubRelBuilder
Builder for a
Mqtt5PubRel.- Since:
- 1.0
-
Method Summary
Modifier and TypeMethodDescriptionreasonString(@Nullable MqttUtf8String reasonString) Set the optionalReason String.reasonString(@Nullable String reasonString) Set the optionalReason String.Fluent counterpart ofuserProperties(Mqtt5UserProperties).userProperties(@NotNull Mqtt5UserProperties userProperties) Sets theUser Properties.
-
Method Details
-
reasonString
Set the optionalReason String.- Parameters:
reasonString- the Reason String ornullto remove any previously set Reason String.- Returns:
- the builder.
-
reasonString
Set the optionalReason String.- Parameters:
reasonString- the Reason String ornullto remove any previously set Reason String.- Returns:
- the builder.
-
userProperties
@NotNull @NotNull Mqtt5PubRelBuilder userProperties(@NotNull @NotNull Mqtt5UserProperties userProperties) Sets theUser Properties.- Parameters:
userProperties- the User Properties.- Returns:
- the builder.
-
userProperties
@CheckReturnValue @NotNull Mqtt5UserPropertiesBuilder.Nested<? extends Mqtt5PubRelBuilder> userProperties()Fluent counterpart ofuserProperties(Mqtt5UserProperties).Calling
Mqtt5UserPropertiesBuilder.Nested.applyUserProperties()on the returned builder has the effect ofextendingthe current User Properties.- Returns:
- the fluent builder for the User Properties.
- See Also:
-
getReasonCode
- Returns:
- the Reason Code of the PubRel message.
-