Interface MqttContext.Builder

    • Method Detail

      • username

        MqttContext.Builder username​(String username)

        The value of the username key in an MQTT authorization request.

        Parameters:
        username - The value of the username key in an MQTT authorization request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • password

        MqttContext.Builder password​(SdkBytes password)

        The value of the password key in an MQTT authorization request.

        Parameters:
        password - The value of the password key in an MQTT authorization request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clientId

        MqttContext.Builder clientId​(String clientId)

        The value of the clientId key in an MQTT authorization request.

        Parameters:
        clientId - The value of the clientId key in an MQTT authorization request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.