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 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 name for the block list.
|
CreateQuerySuggestionsBlockListRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateQuerySuggestionsBlockListRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateQuerySuggestionsBlockListRequest.Builder |
roleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role with permission to access your S3 bucket that contains the
block list text file.
|
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 list of key-value pairs that identify or categorize the block list.
|
CreateQuerySuggestionsBlockListRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
A list of key-value pairs that identify or categorize the block list.
|
CreateQuerySuggestionsBlockListRequest.Builder |
tags(Tag... tags)
A list of key-value pairs that identify or categorize 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 name for the block list.
For example, the name 'offensive-words', which includes all offensive words that could appear in user queries and need to be blocked from suggestions.
name - A name for the block list.
For example, the name 'offensive-words', which includes all offensive words that could appear in user queries and need to be blocked from suggestions.
CreateQuerySuggestionsBlockListRequest.Builder description(String description)
A 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 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 Amazon Resource Name (ARN) of an IAM role with permission to access your S3 bucket that contains the block list text file. For more information, see IAM access roles for Amazon Kendra.
roleArn - The Amazon Resource Name (ARN) of an IAM role with permission to access your S3 bucket that contains
the block list text file. For more information, see IAM access roles for Amazon
Kendra.CreateQuerySuggestionsBlockListRequest.Builder tags(Collection<Tag> tags)
A list of key-value pairs that identify or categorize the block list. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @.
tags - A list of key-value pairs that identify or categorize the block list. Tag keys and values can consist
of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @.CreateQuerySuggestionsBlockListRequest.Builder tags(Tag... tags)
A list of key-value pairs that identify or categorize the block list. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @.
tags - A list of key-value pairs that identify or categorize the block list. Tag keys and values can consist
of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @.CreateQuerySuggestionsBlockListRequest.Builder tags(Consumer<Tag.Builder>... tags)
A list of key-value pairs that identify or categorize the block list. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @.
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 © 2023. All rights reserved.