Interface ListQuerySuggestionsBlockListsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListQuerySuggestionsBlockListsResponse.Builder,,ListQuerySuggestionsBlockListsResponse> KendraResponse.Builder,SdkBuilder<ListQuerySuggestionsBlockListsResponse.Builder,,ListQuerySuggestionsBlockListsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListQuerySuggestionsBlockListsResponse
-
Method Summary
Modifier and TypeMethodDescriptionblockListSummaryItems(Collection<QuerySuggestionsBlockListSummary> blockListSummaryItems) Summary items for a block list.blockListSummaryItems(Consumer<QuerySuggestionsBlockListSummary.Builder>... blockListSummaryItems) Summary items for a block list.blockListSummaryItems(QuerySuggestionsBlockListSummary... blockListSummaryItems) Summary items for a block list.If the response is truncated, Amazon Kendra returns this token that you can use in the subsequent request to retrieve the next set of block lists.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.kendra.model.KendraResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
blockListSummaryItems
ListQuerySuggestionsBlockListsResponse.Builder blockListSummaryItems(Collection<QuerySuggestionsBlockListSummary> blockListSummaryItems) Summary items for a block list.
This includes summary items on the block list ID, block list name, when the block list was created, when the block list was last updated, and the count of block words/phrases in the block list.
For information on the current quota limits for block lists, see Quotas for Amazon Kendra.
- Parameters:
blockListSummaryItems- Summary items for a block list.This includes summary items on the block list ID, block list name, when the block list was created, when the block list was last updated, and the count of block words/phrases in the block list.
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.
-
blockListSummaryItems
ListQuerySuggestionsBlockListsResponse.Builder blockListSummaryItems(QuerySuggestionsBlockListSummary... blockListSummaryItems) Summary items for a block list.
This includes summary items on the block list ID, block list name, when the block list was created, when the block list was last updated, and the count of block words/phrases in the block list.
For information on the current quota limits for block lists, see Quotas for Amazon Kendra.
- Parameters:
blockListSummaryItems- Summary items for a block list.This includes summary items on the block list ID, block list name, when the block list was created, when the block list was last updated, and the count of block words/phrases in the block list.
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.
-
blockListSummaryItems
ListQuerySuggestionsBlockListsResponse.Builder blockListSummaryItems(Consumer<QuerySuggestionsBlockListSummary.Builder>... blockListSummaryItems) Summary items for a block list.
This includes summary items on the block list ID, block list name, when the block list was created, when the block list was last updated, and the count of block words/phrases in the block list.
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 theQuerySuggestionsBlockListSummary.Builderavoiding the need to create one manually viaQuerySuggestionsBlockListSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toblockListSummaryItems(List<QuerySuggestionsBlockListSummary>).- Parameters:
blockListSummaryItems- a consumer that will call methods onQuerySuggestionsBlockListSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If the response is truncated, Amazon Kendra returns this token that you can use in the subsequent request to retrieve the next set of block lists.
- Parameters:
nextToken- If the response is truncated, Amazon Kendra returns this token that you can use in the subsequent request to retrieve the next set of block lists.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-