Interface UpdateQuerySuggestionsBlockListRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateQuerySuggestionsBlockListRequest.Builder,,UpdateQuerySuggestionsBlockListRequest> KendraRequest.Builder,SdkBuilder<UpdateQuerySuggestionsBlockListRequest.Builder,,UpdateQuerySuggestionsBlockListRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateQuerySuggestionsBlockListRequest
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) A new description for the block list.The identifier of the block list you want to update.The identifier of the index for the block list.A new name for the block list.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The IAM (Identity and Access Management) role used to access the block list text file in S3.sourceS3Path(Consumer<S3Path.Builder> sourceS3Path) The S3 path where your block list text file sits in S3.sourceS3Path(S3Path sourceS3Path) The S3 path where your block list text file sits in S3.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.kendra.model.KendraRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
indexId
The identifier of the index for the block list.
- Parameters:
indexId- The identifier of the index for the block list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
The identifier of the block list you want to update.
- Parameters:
id- The identifier of the block list you want to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
A new name for the block list.
- Parameters:
name- A new name for the block list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A new description for the block list.
- Parameters:
description- A new description for the block list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceS3Path
The S3 path where your block list text file sits in S3.
If you update your block list and provide the same path to the block list text file in S3, then Amazon Kendra reloads the file to refresh the block list. Amazon Kendra does not automatically refresh your block list. You need to call the
UpdateQuerySuggestionsBlockListAPI to refresh you block list.If you update your block list, then Amazon Kendra asynchronously refreshes all query suggestions with the latest content in the S3 file. This means changes might not take effect immediately.
- Parameters:
sourceS3Path- The S3 path where your block list text file sits in S3.If you update your block list and provide the same path to the block list text file in S3, then Amazon Kendra reloads the file to refresh the block list. Amazon Kendra does not automatically refresh your block list. You need to call the
UpdateQuerySuggestionsBlockListAPI to refresh you block list.If you update your block list, then Amazon Kendra asynchronously refreshes all query suggestions with the latest content in the S3 file. This means changes might not take effect immediately.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceS3Path
default UpdateQuerySuggestionsBlockListRequest.Builder sourceS3Path(Consumer<S3Path.Builder> sourceS3Path) The S3 path where your block list text file sits in S3.
If you update your block list and provide the same path to the block list text file in S3, then Amazon Kendra reloads the file to refresh the block list. Amazon Kendra does not automatically refresh your block list. You need to call the
UpdateQuerySuggestionsBlockListAPI to refresh you block list.If you update your block list, then Amazon Kendra asynchronously refreshes all query suggestions with the latest content in the S3 file. This means changes might not take effect immediately.
This is a convenience method that creates an instance of theS3Path.Builderavoiding the need to create one manually viaS3Path.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosourceS3Path(S3Path).- Parameters:
sourceS3Path- a consumer that will call methods onS3Path.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
roleArn
The IAM (Identity and Access Management) role used to access the block list text file in S3.
- Parameters:
roleArn- The IAM (Identity and Access Management) role used to access the block list text file in S3.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateQuerySuggestionsBlockListRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateQuerySuggestionsBlockListRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-