public static interface CreateQuerySuggestionsBlockListRequest.Builder extends KendraRequest.Builder, SdkPojo, CopyableBuilder<CreateQuerySuggestionsBlockListRequest.Builder,CreateQuerySuggestionsBlockListRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateQuerySuggestionsBlockListRequest.Builder |
clientToken(String clientToken)
A token that you provide to identify the request to create a query suggestions block list.
|
CreateQuerySuggestionsBlockListRequest.Builder |
description(String description)
A user-friendly description for the block list.
|
CreateQuerySuggestionsBlockListRequest.Builder |
indexId(String indexId)
The identifier of the index you want to create a query suggestions block list for.
|
CreateQuerySuggestionsBlockListRequest.Builder |
name(String name)
A user friendly name for the block list.
|
CreateQuerySuggestionsBlockListRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateQuerySuggestionsBlockListRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateQuerySuggestionsBlockListRequest.Builder |
roleArn(String roleArn)
The IAM (Identity and Access Management) role used by Amazon Kendra to access the block list text file in
your S3 bucket.
|
default CreateQuerySuggestionsBlockListRequest.Builder |
sourceS3Path(Consumer<S3Path.Builder> sourceS3Path)
The S3 path to your block list text file in your S3 bucket.
|
CreateQuerySuggestionsBlockListRequest.Builder |
sourceS3Path(S3Path sourceS3Path)
The S3 path to your block list text file in your S3 bucket.
|
CreateQuerySuggestionsBlockListRequest.Builder |
tags(Collection<Tag> tags)
A tag that you can assign to a block list that categorizes the block list.
|
CreateQuerySuggestionsBlockListRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
A tag that you can assign to a block list that categorizes the block list.
|
CreateQuerySuggestionsBlockListRequest.Builder |
tags(Tag... tags)
A tag that you can assign to a block list that categorizes the block list.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateQuerySuggestionsBlockListRequest.Builder indexId(String indexId)
The identifier of the index you want to create a query suggestions block list for.
indexId - The identifier of the index you want to create a query suggestions block list for.CreateQuerySuggestionsBlockListRequest.Builder name(String name)
A user friendly name for the block list.
For example, the block list named 'offensive-words' includes all offensive words that could appear in user queries and need to be blocked from suggestions.
name - A user friendly name for the block list.
For example, the block list named 'offensive-words' includes all offensive words that could appear in user queries and need to be blocked from suggestions.
CreateQuerySuggestionsBlockListRequest.Builder description(String description)
A user-friendly description for the block list.
For example, the description "List of all offensive words that can appear in user queries and need to be blocked from suggestions."
description - A user-friendly description for the block list.
For example, the description "List of all offensive words that can appear in user queries and need to be blocked from suggestions."
CreateQuerySuggestionsBlockListRequest.Builder sourceS3Path(S3Path sourceS3Path)
The S3 path to your block list text file in your S3 bucket.
Each block word or phrase should be on a separate line in a text file.
For information on the current quota limits for block lists, see Quotas for Amazon Kendra.
sourceS3Path - The S3 path to your block list text file in your S3 bucket.
Each block word or phrase should be on a separate line in a text file.
For information on the current quota limits for block lists, see Quotas for Amazon Kendra.
default CreateQuerySuggestionsBlockListRequest.Builder sourceS3Path(Consumer<S3Path.Builder> sourceS3Path)
The S3 path to your block list text file in your S3 bucket.
Each block word or phrase should be on a separate line in a text file.
For information on the current quota limits for block lists, see Quotas for Amazon Kendra.
This is a convenience method that creates an instance of theS3Path.Builder avoiding the need to
create one manually via S3Path.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to sourceS3Path(S3Path).
sourceS3Path - a consumer that will call methods on S3Path.BuildersourceS3Path(S3Path)CreateQuerySuggestionsBlockListRequest.Builder clientToken(String clientToken)
A token that you provide to identify the request to create a query suggestions block list.
clientToken - A token that you provide to identify the request to create a query suggestions block list.CreateQuerySuggestionsBlockListRequest.Builder roleArn(String roleArn)
The IAM (Identity and Access Management) role used by Amazon Kendra to access the block list text file in your S3 bucket.
You need permissions to the role ARN (Amazon Web Services Resource Name). The role needs S3 read permissions to your file in S3 and needs to give STS (Security Token Service) assume role permissions to Amazon Kendra.
roleArn - The IAM (Identity and Access Management) role used by Amazon Kendra to access the block list text file
in your S3 bucket.
You need permissions to the role ARN (Amazon Web Services Resource Name). The role needs S3 read permissions to your file in S3 and needs to give STS (Security Token Service) assume role permissions to Amazon Kendra.
CreateQuerySuggestionsBlockListRequest.Builder tags(Collection<Tag> tags)
A tag that you can assign to a block list that categorizes the block list.
tags - A tag that you can assign to a block list that categorizes the block list.CreateQuerySuggestionsBlockListRequest.Builder tags(Tag... tags)
A tag that you can assign to a block list that categorizes the block list.
tags - A tag that you can assign to a block list that categorizes the block list.CreateQuerySuggestionsBlockListRequest.Builder tags(Consumer<Tag.Builder>... tags)
A tag that you can assign to a block list that categorizes the block list.
This is a convenience method that creates an instance of theTag.Builder avoiding the need to create one manually via
Tag.builder().
When the Consumer completes, SdkBuilder.build()
is called immediately and its result is passed to #tags(List.
tags - a consumer that will call methods on Tag.Builder#tags(java.util.Collection) CreateQuerySuggestionsBlockListRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateQuerySuggestionsBlockListRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.