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 theResultData.Builder avoiding the need to create one
manually via ResultData.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #results(List.
results - a consumer that will call methods on
ResultData.Builder#results(java.util.Collection) Copyright © 2022. All rights reserved.