public static interface QueryAssistantResponse.Builder extends WisdomResponse.Builder, SdkPojo, CopyableBuilder<QueryAssistantResponse.Builder,QueryAssistantResponse>
| Modifier and Type | Method and Description |
|---|---|
QueryAssistantResponse.Builder |
nextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
|
QueryAssistantResponse.Builder |
results(Collection<ResultData> results)
The results of the query.
|
QueryAssistantResponse.Builder |
results(Consumer<ResultData.Builder>... results)
The results of the query.
|
QueryAssistantResponse.Builder |
results(ResultData... results)
The results of the query.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildQueryAssistantResponse.Builder nextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
nextToken - If there are additional results, this is the token for the next set of results.QueryAssistantResponse.Builder results(Collection<ResultData> results)
The results of the query.
results - The results of the query.QueryAssistantResponse.Builder results(ResultData... results)
The results of the query.
results - The results of the query.QueryAssistantResponse.Builder results(Consumer<ResultData.Builder>... results)
The results of the query.
This is a convenience method that creates an instance of theList.Builder avoiding the
need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #results(List) .results - a consumer that will call methods on List.Builder #results(List) Copyright © 2022. All rights reserved.