C - the type of the complete builder.@DoNotImplement public interface Mqtt5SimpleAuthBuilderBase<C extends Mqtt5SimpleAuthBuilderBase<C>>
Mqtt5SimpleAuth.| Modifier and Type | Method and Description |
|---|---|
C |
password(byte[] password)
Sets the
password. |
C |
password(@NotNull ByteBuffer password)
Sets the
password. |
C |
username(@NotNull MqttUtf8String username)
Sets the
username. |
C |
username(@NotNull String username)
Sets the
username. |
@CheckReturnValue @NotNull C username(@NotNull @NotNull String username)
username. At least the username or the password is mandatory.username - the username string.@CheckReturnValue @NotNull C username(@NotNull @NotNull MqttUtf8String username)
username. At least the username or the password is mandatory.username - the username string.@CheckReturnValue @NotNull C password(byte[] password)
password. At least the username or the password is mandatory.password - the password as byte array.@CheckReturnValue @NotNull C password(@NotNull @NotNull ByteBuffer password)
password. At least the username or the password is mandatory.password - the password as ByteBuffer.