@DoNotImplement public interface Mqtt5AuthBuilder extends Mqtt5EnhancedAuthBuilder
Mqtt5Auth
.Modifier and Type | Method and Description |
---|---|
@NotNull Mqtt5AuthBuilder |
data(byte[] data)
Sets the optional auth data.
|
@NotNull Mqtt5AuthBuilder |
data(@Nullable ByteBuffer data)
Sets the optional auth data.
|
@NotNull Mqtt5AuthBuilder |
reasonString(@Nullable MqttUtf8String reasonString)
Sets the optional
Reason String . |
@NotNull Mqtt5AuthBuilder |
reasonString(@Nullable String reasonString)
Sets the optional
Reason String . |
Mqtt5UserPropertiesBuilder.Nested<? extends Mqtt5AuthBuilder> |
userProperties()
Fluent counterpart of
userProperties(Mqtt5UserProperties) . |
@NotNull Mqtt5AuthBuilder |
userProperties(@NotNull Mqtt5UserProperties userProperties)
Sets the
User Properties . |
@NotNull @NotNull Mqtt5AuthBuilder data(byte[] data)
Mqtt5EnhancedAuthBuilder
data
in interface Mqtt5EnhancedAuthBuilder
data
- the auth data as byte array or null
to remove any previously set auth data.@NotNull @NotNull Mqtt5AuthBuilder data(@Nullable @Nullable ByteBuffer data)
Mqtt5EnhancedAuthBuilder
data
in interface Mqtt5EnhancedAuthBuilder
data
- the auth data as ByteBuffer
or null
to remove any previously set auth data.@NotNull @NotNull Mqtt5AuthBuilder reasonString(@Nullable @Nullable String reasonString)
Reason String
.reasonString
- the reason string or null
to remove any previously set Reason String.@NotNull @NotNull Mqtt5AuthBuilder reasonString(@Nullable @Nullable MqttUtf8String reasonString)
Reason String
.reasonString
- the reason string or null
to remove any previously set Reason String.@NotNull @NotNull Mqtt5AuthBuilder userProperties(@NotNull @NotNull Mqtt5UserProperties userProperties)
User Properties
.userProperties
- the User Properties.@CheckReturnValue Mqtt5UserPropertiesBuilder.Nested<? extends Mqtt5AuthBuilder> userProperties()
userProperties(Mqtt5UserProperties)
.
Calling Mqtt5UserPropertiesBuilder.Nested#applyUserProperties()
on the returned builder has the effect of
extending
the current User Properties.
userProperties(Mqtt5UserProperties)