Interface SearchQuickResponsesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<SearchQuickResponsesResponse.Builder,
,SearchQuickResponsesResponse> QConnectResponse.Builder
,SdkBuilder<SearchQuickResponsesResponse.Builder,
,SearchQuickResponsesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
SearchQuickResponsesResponse
@Mutable
@NotThreadSafe
public static interface SearchQuickResponsesResponse.Builder
extends QConnectResponse.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
copy
Methods inherited from interface software.amazon.awssdk.services.qconnect.model.QConnectResponse.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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.Builder
avoiding the need to create one manually viaQuickResponseSearchResultData.builder()
.When the
Consumer
completes,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:
-
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.
-