Interface Mqtt5PubRecBuilder
Builder for a
Mqtt5PubRec.- Since:
- 1.0
-
Method Summary
Modifier and TypeMethodDescriptionreasonCode(@NotNull Mqtt5PubRecReasonCode reasonCode) Sets theReason Code.reasonString(@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
-
reasonCode
Sets theReason Code.- Parameters:
reasonCode- the Reason Code.- Returns:
- the builder.
-
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 Mqtt5PubRecBuilder userProperties(@NotNull @NotNull Mqtt5UserProperties userProperties) Sets theUser Properties.- Parameters:
userProperties- the User Properties.- Returns:
- the builder.
-
userProperties
@CheckReturnValue @NotNull Mqtt5UserPropertiesBuilder.Nested<? extends Mqtt5PubRecBuilder> 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:
-