public static interface DescribeQuerySuggestionsBlockListResponse.Builder extends KendraResponse.Builder, SdkPojo, CopyableBuilder<DescribeQuerySuggestionsBlockListResponse.Builder,DescribeQuerySuggestionsBlockListResponse>
| Modifier and Type | Method and Description |
|---|---|
DescribeQuerySuggestionsBlockListResponse.Builder |
createdAt(Instant createdAt)
The Unix timestamp when a block list for query suggestions was created.
|
DescribeQuerySuggestionsBlockListResponse.Builder |
description(String description)
The description for the block list.
|
DescribeQuerySuggestionsBlockListResponse.Builder |
errorMessage(String errorMessage)
The error message containing details if there are issues processing the block list.
|
DescribeQuerySuggestionsBlockListResponse.Builder |
fileSizeBytes(Long fileSizeBytes)
The current size of the block list text file in S3.
|
DescribeQuerySuggestionsBlockListResponse.Builder |
id(String id)
The identifier of the block list.
|
DescribeQuerySuggestionsBlockListResponse.Builder |
indexId(String indexId)
The identifier of the index for the block list.
|
DescribeQuerySuggestionsBlockListResponse.Builder |
itemCount(Integer itemCount)
The current number of valid, non-empty words or phrases in the block list text file.
|
DescribeQuerySuggestionsBlockListResponse.Builder |
name(String name)
The name of the block list.
|
DescribeQuerySuggestionsBlockListResponse.Builder |
roleArn(String roleArn)
The IAM (Identity and Access Management) role used by Amazon Kendra to access the block list text file in S3.
|
default DescribeQuerySuggestionsBlockListResponse.Builder |
sourceS3Path(Consumer<S3Path.Builder> sourceS3Path)
Shows the current S3 path to your block list text file in your S3 bucket.
|
DescribeQuerySuggestionsBlockListResponse.Builder |
sourceS3Path(S3Path sourceS3Path)
Shows the current S3 path to your block list text file in your S3 bucket.
|
DescribeQuerySuggestionsBlockListResponse.Builder |
status(QuerySuggestionsBlockListStatus status)
The current status of the block list.
|
DescribeQuerySuggestionsBlockListResponse.Builder |
status(String status)
The current status of the block list.
|
DescribeQuerySuggestionsBlockListResponse.Builder |
updatedAt(Instant updatedAt)
The Unix timestamp when a block list for query suggestions was last updated.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildDescribeQuerySuggestionsBlockListResponse.Builder indexId(String indexId)
The identifier of the index for the block list.
indexId - The identifier of the index for the block list.DescribeQuerySuggestionsBlockListResponse.Builder id(String id)
The identifier of the block list.
id - The identifier of the block list.DescribeQuerySuggestionsBlockListResponse.Builder name(String name)
The name of the block list.
name - The name of the block list.DescribeQuerySuggestionsBlockListResponse.Builder description(String description)
The description for the block list.
description - The description for the block list.DescribeQuerySuggestionsBlockListResponse.Builder status(String status)
The current status of the block list. When the value is ACTIVE, the block list is ready for use.
status - The current status of the block list. When the value is ACTIVE, the block list is ready
for use.QuerySuggestionsBlockListStatus,
QuerySuggestionsBlockListStatusDescribeQuerySuggestionsBlockListResponse.Builder status(QuerySuggestionsBlockListStatus status)
The current status of the block list. When the value is ACTIVE, the block list is ready for use.
status - The current status of the block list. When the value is ACTIVE, the block list is ready
for use.QuerySuggestionsBlockListStatus,
QuerySuggestionsBlockListStatusDescribeQuerySuggestionsBlockListResponse.Builder errorMessage(String errorMessage)
The error message containing details if there are issues processing the block list.
errorMessage - The error message containing details if there are issues processing the block list.DescribeQuerySuggestionsBlockListResponse.Builder createdAt(Instant createdAt)
The Unix timestamp when a block list for query suggestions was created.
createdAt - The Unix timestamp when a block list for query suggestions was created.DescribeQuerySuggestionsBlockListResponse.Builder updatedAt(Instant updatedAt)
The Unix timestamp when a block list for query suggestions was last updated.
updatedAt - The Unix timestamp when a block list for query suggestions was last updated.DescribeQuerySuggestionsBlockListResponse.Builder sourceS3Path(S3Path sourceS3Path)
Shows the current 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 - Shows the current 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 DescribeQuerySuggestionsBlockListResponse.Builder sourceS3Path(Consumer<S3Path.Builder> sourceS3Path)
Shows the current 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)DescribeQuerySuggestionsBlockListResponse.Builder itemCount(Integer itemCount)
The current number of valid, non-empty words or phrases in the block list text file.
itemCount - The current number of valid, non-empty words or phrases in the block list text file.DescribeQuerySuggestionsBlockListResponse.Builder fileSizeBytes(Long fileSizeBytes)
The current size of the block list text file in S3.
fileSizeBytes - The current size of the block list text file in S3.DescribeQuerySuggestionsBlockListResponse.Builder roleArn(String roleArn)
The IAM (Identity and Access Management) role used by Amazon Kendra to access the block list text file in S3.
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 S3.
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.
Copyright © 2023. All rights reserved.