Interface Mqtt5SimpleAuthBuilderBase<C extends Mqtt5SimpleAuthBuilderBase<C>>

Type Parameters:
C - the type of the complete builder.
All Known Subinterfaces:
Mqtt5SimpleAuthBuilder, Mqtt5SimpleAuthBuilder.Complete, Mqtt5SimpleAuthBuilder.Nested<P>, Mqtt5SimpleAuthBuilder.Nested.Complete<P>

@DoNotImplement public interface Mqtt5SimpleAuthBuilderBase<C extends Mqtt5SimpleAuthBuilderBase<C>>
Builder base for a Mqtt5SimpleAuth.
Since:
1.0
  • Method Details

    • username

      @CheckReturnValue @NotNull C username(@NotNull @NotNull String username)
      Sets the username. At least the username or the password is mandatory.
      Parameters:
      username - the username string.
      Returns:
      the builder that is now complete as the username is set.
    • username

      @CheckReturnValue @NotNull C username(@NotNull @NotNull MqttUtf8String username)
      Sets the username. At least the username or the password is mandatory.
      Parameters:
      username - the username string.
      Returns:
      the builder that is now complete as the username is set.
    • password

      @CheckReturnValue @NotNull C password(byte @NotNull [] password)
      Sets the password. At least the username or the password is mandatory.
      Parameters:
      password - the password as byte array.
      Returns:
      the builder that is now complete as the password is set.
    • password

      @CheckReturnValue @NotNull C password(@NotNull @NotNull ByteBuffer password)
      Sets the password. At least the username or the password is mandatory.
      Parameters:
      password - the password as ByteBuffer.
      Returns:
      the builder that is now complete as the password is set.