Interface QueryAssistantResponse.Builder
- All Superinterfaces:
 AwsResponse.Builder,Buildable,CopyableBuilder<QueryAssistantResponse.Builder,,QueryAssistantResponse> QConnectResponse.Builder,SdkBuilder<QueryAssistantResponse.Builder,,QueryAssistantResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
 QueryAssistantResponse
public static interface QueryAssistantResponse.Builder
extends QConnectResponse.Builder, SdkPojo, CopyableBuilder<QueryAssistantResponse.Builder,QueryAssistantResponse> 
- 
Method Summary
Modifier and TypeMethodDescriptionIf there are additional results, this is the token for the next set of results.results(Collection<ResultData> results) The results of the query.results(Consumer<ResultData.Builder>... results) The results of the query.results(ResultData... results) The results of the query.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.qconnect.model.QConnectResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse 
- 
Method Details
- 
nextToken
If there are additional results, this is the token for the next set of results.
- Parameters:
 nextToken- If there are additional results, this is the token for the next set of results.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
results
The results of the query.
- Parameters:
 results- The results of the query.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
results
The results of the query.
- Parameters:
 results- The results of the query.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
results
The results of the query.
This is a convenience method that creates an instance of theResultData.Builderavoiding the need to create one manually viaResultData.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresults(List<ResultData>).- Parameters:
 results- a consumer that will call methods onResultData.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 
 -