Interface SearchQuickResponsesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<SearchQuickResponsesResponse.Builder,,SearchQuickResponsesResponse> SdkBuilder<SearchQuickResponsesResponse.Builder,,SearchQuickResponsesResponse> SdkPojo,SdkResponse.Builder,WisdomResponse.Builder
- Enclosing class:
SearchQuickResponsesResponse
public static interface SearchQuickResponsesResponse.Builder
extends WisdomResponse.Builder, SdkPojo, CopyableBuilder<SearchQuickResponsesResponse.Builder,SearchQuickResponsesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token for the next set of results.results(Collection<QuickResponseSearchResultData> results) The results of the quick response search.results(Consumer<QuickResponseSearchResultData.Builder>... results) The results of the quick response search.results(QuickResponseSearchResultData... results) The results of the quick response search.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods 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, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.wisdom.model.WisdomResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
nextToken
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
- Parameters:
nextToken- The token for the next set of results. Use the value returned in the previous response in the next request to retrieve 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 quick response search.
- Parameters:
results- The results of the quick response search.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
results
The results of the quick response search.
- Parameters:
results- The results of the quick response search.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
results
SearchQuickResponsesResponse.Builder results(Consumer<QuickResponseSearchResultData.Builder>... results) The results of the quick response search.
This is a convenience method that creates an instance of theQuickResponseSearchResultData.Builderavoiding the need to create one manually viaQuickResponseSearchResultData.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresults(List<QuickResponseSearchResultData>).- Parameters:
results- a consumer that will call methods onQuickResponseSearchResultData.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-