Interface KendraConfiguration.Builder

    • Method Detail

      • kendraIndex

        KendraConfiguration.Builder kendraIndex​(String kendraIndex)

        The Amazon Resource Name (ARN) of the Amazon Kendra index that you want the AMAZON.KendraSearchIntent intent to search. The index must be in the same account and Region as the Amazon Lex bot.

        Parameters:
        kendraIndex - The Amazon Resource Name (ARN) of the Amazon Kendra index that you want the AMAZON.KendraSearchIntent intent to search. The index must be in the same account and Region as the Amazon Lex bot.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • queryFilterStringEnabled

        KendraConfiguration.Builder queryFilterStringEnabled​(Boolean queryFilterStringEnabled)

        Determines whether the AMAZON.KendraSearchIntent intent uses a custom query string to query the Amazon Kendra index.

        Parameters:
        queryFilterStringEnabled - Determines whether the AMAZON.KendraSearchIntent intent uses a custom query string to query the Amazon Kendra index.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • queryFilterString

        KendraConfiguration.Builder queryFilterString​(String queryFilterString)

        A query filter that Amazon Lex sends to Amazon Kendra to filter the response from a query. The filter is in the format defined by Amazon Kendra. For more information, see Filtering queries.

        Parameters:
        queryFilterString - A query filter that Amazon Lex sends to Amazon Kendra to filter the response from a query. The filter is in the format defined by Amazon Kendra. For more information, see Filtering queries.
        Returns:
        Returns a reference to this object so that method calls can be chained together.