Interface Mqtt5AuthBuilder
- All Superinterfaces:
Mqtt5EnhancedAuthBuilder
Builder for a
Mqtt5Auth.- Since:
- 1.0
-
Method Summary
Modifier and TypeMethodDescriptionSets the optional auth data.data(@Nullable ByteBuffer data) Sets the optional auth data.reasonString(@Nullable MqttUtf8String reasonString) Sets the optionalReason String.reasonString(@Nullable String reasonString) Sets the optionalReason String.Fluent counterpart ofuserProperties(Mqtt5UserProperties).userProperties(@NotNull Mqtt5UserProperties userProperties) Sets theUser Properties.
-
Method Details
-
data
Description copied from interface:Mqtt5EnhancedAuthBuilderSets the optional auth data.- Specified by:
datain interfaceMqtt5EnhancedAuthBuilder- Parameters:
data- the auth data as byte array ornullto remove any previously set auth data.- Returns:
- the builder.
-
data
Description copied from interface:Mqtt5EnhancedAuthBuilderSets the optional auth data.- Specified by:
datain interfaceMqtt5EnhancedAuthBuilder- Parameters:
data- the auth data asByteBufferornullto remove any previously set auth data.- Returns:
- the builder.
-
reasonString
Sets the optionalReason String.- Parameters:
reasonString- the reason string ornullto remove any previously set Reason String.- Returns:
- the builder.
-
reasonString
Sets the optionalReason String.- Parameters:
reasonString- the reason string ornullto remove any previously set Reason String.- Returns:
- the builder.
-
userProperties
@NotNull @NotNull Mqtt5AuthBuilder userProperties(@NotNull @NotNull Mqtt5UserProperties userProperties) Sets theUser Properties.- Parameters:
userProperties- the User Properties.- Returns:
- the builder.
-
userProperties
@CheckReturnValue @NotNull Mqtt5UserPropertiesBuilder.Nested<? extends Mqtt5AuthBuilder> 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:
-