Interface StartConversationRequest.Builder

    • Method Detail

      • botId

        StartConversationRequest.Builder botId​(String botId)

        The identifier of the bot to process the request.

        Parameters:
        botId - The identifier of the bot to process the request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • botAliasId

        StartConversationRequest.Builder botAliasId​(String botAliasId)

        The alias identifier in use for the bot that processes the request.

        Parameters:
        botAliasId - The alias identifier in use for the bot that processes the request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • localeId

        StartConversationRequest.Builder localeId​(String localeId)

        The locale where the session is in use.

        Parameters:
        localeId - The locale where the session is in use.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sessionId

        StartConversationRequest.Builder sessionId​(String sessionId)

        The identifier of the user session that is having the conversation.

        Parameters:
        sessionId - The identifier of the user session that is having the conversation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • conversationMode

        StartConversationRequest.Builder conversationMode​(String conversationMode)

        The conversation type that you are using the Amazon Lex V2. If the conversation mode is AUDIO you can send both audio and DTMF information. If the mode is TEXT you can only send text.

        Parameters:
        conversationMode - The conversation type that you are using the Amazon Lex V2. If the conversation mode is AUDIO you can send both audio and DTMF information. If the mode is TEXT you can only send text.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ConversationMode, ConversationMode
      • conversationMode

        StartConversationRequest.Builder conversationMode​(ConversationMode conversationMode)

        The conversation type that you are using the Amazon Lex V2. If the conversation mode is AUDIO you can send both audio and DTMF information. If the mode is TEXT you can only send text.

        Parameters:
        conversationMode - The conversation type that you are using the Amazon Lex V2. If the conversation mode is AUDIO you can send both audio and DTMF information. If the mode is TEXT you can only send text.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ConversationMode, ConversationMode