Interface DescribeQuerySuggestionsBlockListResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeQuerySuggestionsBlockListResponse.Builder,
,DescribeQuerySuggestionsBlockListResponse> KendraResponse.Builder
,SdkBuilder<DescribeQuerySuggestionsBlockListResponse.Builder,
,DescribeQuerySuggestionsBlockListResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeQuerySuggestionsBlockListResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe Unix timestamp when a block list for query suggestions was created.description
(String description) The description for the block list.errorMessage
(String errorMessage) The error message containing details if there are issues processing the block list.fileSizeBytes
(Long fileSizeBytes) The current size of the block list text file in S3.The identifier of the block list.The identifier of the index for the block list.The current number of valid, non-empty words or phrases in the block list text file.The name of the block list.The IAM (Identity and Access Management) role used by Amazon Kendra to access the block list text file in S3.sourceS3Path
(Consumer<S3Path.Builder> sourceS3Path) Shows the current S3 path to your block list text file in your S3 bucket.sourceS3Path
(S3Path sourceS3Path) Shows the current S3 path to your block list text file in your S3 bucket.The current status of the block list.The current status of the block list.The Unix timestamp when a block list for query suggestions was last updated.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.kendra.model.KendraResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
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.
- Parameters:
id
- The identifier of the block list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the block list.
- Parameters:
name
- The name of the block list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description for the block list.
- Parameters:
description
- The description for the block list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the block list. When the value is
ACTIVE
, the block list is ready for use.- Parameters:
status
- The current status of the block list. When the value isACTIVE
, the block list is ready for use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the block list. When the value is
ACTIVE
, the block list is ready for use.- Parameters:
status
- The current status of the block list. When the value isACTIVE
, the block list is ready for use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errorMessage
The error message containing details if there are issues processing the block list.
- Parameters:
errorMessage
- The error message containing details if there are issues processing the block list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The Unix timestamp when a block list for query suggestions was created.
- Parameters:
createdAt
- The Unix timestamp when a block list for query suggestions was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The Unix timestamp when a block list for query suggestions was last updated.
- Parameters:
updatedAt
- The Unix timestamp when a block list for query suggestions was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceS3Path
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 viaS3Path.builder()
.When the
Consumer
completes,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:
-
itemCount
The current number of valid, non-empty words or phrases in the block list text file.
- Parameters:
itemCount
- The current number of valid, non-empty words or phrases in the block list text file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileSizeBytes
The current size of the block list text file in S3.
- Parameters:
fileSizeBytes
- The current size of the block list text file in S3.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-