Interface KendraConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<KendraConfiguration.Builder,
,KendraConfiguration> SdkBuilder<KendraConfiguration.Builder,
,KendraConfiguration> SdkPojo
- Enclosing class:
KendraConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionkendraIndex
(String kendraIndex) The Amazon Resource Name (ARN) of the Amazon Kendra index that you want the AMAZON.KendraSearchIntent intent to search.queryFilterString
(String queryFilterString) A query filter that Amazon Lex sends to Amazon Kendra to filter the response from the query.The Amazon Resource Name (ARN) of an IAM role that has permission to search the Amazon Kendra index.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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 thePutIntent
operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 thePutIntent
operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-