public static interface DescribeQuerySuggestionsBlockListResponse.Builder extends KendraResponse.Builder, SdkPojo, CopyableBuilder<DescribeQuerySuggestionsBlockListResponse.Builder,DescribeQuerySuggestionsBlockListResponse>
| Modifier and Type | Method and Description |
|---|---|
DescribeQuerySuggestionsBlockListResponse.Builder |
createdAt(Instant createdAt)
Shows the date-time a block list for query suggestions was last created.
|
DescribeQuerySuggestionsBlockListResponse.Builder |
description(String description)
Shows the description for the block list.
|
DescribeQuerySuggestionsBlockListResponse.Builder |
errorMessage(String errorMessage)
Shows the error message with details when there are issues in processing the block list.
|
DescribeQuerySuggestionsBlockListResponse.Builder |
fileSizeBytes(Long fileSizeBytes)
Shows the current size of the block list text file in S3.
|
DescribeQuerySuggestionsBlockListResponse.Builder |
id(String id)
Shows the unique identifier of the block list.
|
DescribeQuerySuggestionsBlockListResponse.Builder |
indexId(String indexId)
Shows the identifier of the index for the block list.
|
DescribeQuerySuggestionsBlockListResponse.Builder |
itemCount(Integer itemCount)
Shows the current number of valid, non-empty words or phrases in the block list text file.
|
DescribeQuerySuggestionsBlockListResponse.Builder |
name(String name)
Shows the name of the block list.
|
DescribeQuerySuggestionsBlockListResponse.Builder |
roleArn(String roleArn)
Shows the current 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)
Shows whether the current status of the block list is
ACTIVE or INACTIVE. |
DescribeQuerySuggestionsBlockListResponse.Builder |
status(String status)
Shows whether the current status of the block list is
ACTIVE or INACTIVE. |
DescribeQuerySuggestionsBlockListResponse.Builder |
updatedAt(Instant updatedAt)
Shows the date-time a block list for query suggestions was last updated.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildDescribeQuerySuggestionsBlockListResponse.Builder indexId(String indexId)
Shows the identifier of the index for the block list.
indexId - Shows the identifier of the index for the block list.DescribeQuerySuggestionsBlockListResponse.Builder id(String id)
Shows the unique identifier of the block list.
id - Shows the unique identifier of the block list.DescribeQuerySuggestionsBlockListResponse.Builder name(String name)
Shows the name of the block list.
name - Shows the name of the block list.DescribeQuerySuggestionsBlockListResponse.Builder description(String description)
Shows the description for the block list.
description - Shows the description for the block list.DescribeQuerySuggestionsBlockListResponse.Builder status(String status)
Shows whether the current status of the block list is ACTIVE or INACTIVE.
status - Shows whether the current status of the block list is ACTIVE or INACTIVE.QuerySuggestionsBlockListStatus,
QuerySuggestionsBlockListStatusDescribeQuerySuggestionsBlockListResponse.Builder status(QuerySuggestionsBlockListStatus status)
Shows whether the current status of the block list is ACTIVE or INACTIVE.
status - Shows whether the current status of the block list is ACTIVE or INACTIVE.QuerySuggestionsBlockListStatus,
QuerySuggestionsBlockListStatusDescribeQuerySuggestionsBlockListResponse.Builder errorMessage(String errorMessage)
Shows the error message with details when there are issues in processing the block list.
errorMessage - Shows the error message with details when there are issues in processing the block list.DescribeQuerySuggestionsBlockListResponse.Builder createdAt(Instant createdAt)
Shows the date-time a block list for query suggestions was last created.
createdAt - Shows the date-time a block list for query suggestions was last created.DescribeQuerySuggestionsBlockListResponse.Builder updatedAt(Instant updatedAt)
Shows the date-time a block list for query suggestions was last updated.
updatedAt - Shows the date-time 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 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)
Shows the current number of valid, non-empty words or phrases in the block list text file.
itemCount - Shows the current number of valid, non-empty words or phrases in the block list text file.DescribeQuerySuggestionsBlockListResponse.Builder fileSizeBytes(Long fileSizeBytes)
Shows the current size of the block list text file in S3.
fileSizeBytes - Shows the current size of the block list text file in S3.DescribeQuerySuggestionsBlockListResponse.Builder roleArn(String roleArn)
Shows the current 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 - Shows the current 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 © 2021. All rights reserved.