Interface KendraConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<KendraConfiguration.Builder,KendraConfiguration>,SdkBuilder<KendraConfiguration.Builder,KendraConfiguration>,SdkPojo
- Enclosing class:
- KendraConfiguration
public static interface KendraConfiguration.Builder extends SdkPojo, CopyableBuilder<KendraConfiguration.Builder,KendraConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description KendraConfiguration.BuilderkendraIndex(String kendraIndex)The Amazon Resource Name (ARN) of the Amazon Kendra index that you want the AMAZON.KendraSearchIntent intent to search.KendraConfiguration.BuilderqueryFilterString(String queryFilterString)A query filter that Amazon Lex sends to Amazon Kendra to filter the response from the query.KendraConfiguration.Builderrole(String role)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, sdkFields
-
-
-
-
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. If the Amazon Kendra index does not exist, you get an exception when you call the
PutIntentoperation.- 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 thePutIntentoperation.- 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
KendraConfiguration.Builder role(String 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
PutIntentoperation.- 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 thePutIntentoperation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-