Interface KendraConfiguration.Builder

  • Method Details

    • 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. If the Amazon Kendra index does not exist, you get an exception when you call the PutIntent operation.

      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. If the Amazon Kendra index does not exist, you get an exception when you call the PutIntent operation.
      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 the query. The filter is in the format defined by Amazon Kendra. For more information, see Filtering queries.

      You can override this filter string with a new filter string at runtime.

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

      You can override this filter string with a new filter string at runtime.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • role

      The Amazon Resource Name (ARN) of an IAM role that has permission to search the Amazon Kendra index. The role must be in the same account and Region as the Amazon Lex bot. If the role does not exist, you get an exception when you call the PutIntent operation.

      Parameters:
      role - The Amazon Resource Name (ARN) of an IAM role that has permission to search the Amazon Kendra index. The role must be in the same account and Region as the Amazon Lex bot. If the role does not exist, you get an exception when you call the PutIntent operation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.