Interface StartConversationRequest.Builder

  • Method Details

    • 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

      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

      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

      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:
    • overrideConfiguration

      StartConversationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.