Interface ListQuerySuggestionsBlockListsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListQuerySuggestionsBlockListsResponse.Builder,ListQuerySuggestionsBlockListsResponse>,KendraResponse.Builder,SdkBuilder<ListQuerySuggestionsBlockListsResponse.Builder,ListQuerySuggestionsBlockListsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListQuerySuggestionsBlockListsResponse
public static interface ListQuerySuggestionsBlockListsResponse.Builder extends KendraResponse.Builder, SdkPojo, CopyableBuilder<ListQuerySuggestionsBlockListsResponse.Builder,ListQuerySuggestionsBlockListsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListQuerySuggestionsBlockListsResponse.BuilderblockListSummaryItems(Collection<QuerySuggestionsBlockListSummary> blockListSummaryItems)Summary items for a block list.ListQuerySuggestionsBlockListsResponse.BuilderblockListSummaryItems(Consumer<QuerySuggestionsBlockListSummary.Builder>... blockListSummaryItems)Summary items for a block list.ListQuerySuggestionsBlockListsResponse.BuilderblockListSummaryItems(QuerySuggestionsBlockListSummary... blockListSummaryItems)Summary items for a block list.ListQuerySuggestionsBlockListsResponse.BuildernextToken(String 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.-
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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
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 to#blockListSummaryItems(List.) - 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:
#blockListSummaryItems(java.util.Collection)
-
nextToken
ListQuerySuggestionsBlockListsResponse.Builder nextToken(String 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.
-
-