Interface SearchQuickResponsesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<SearchQuickResponsesResponse.Builder,SearchQuickResponsesResponse>,QConnectResponse.Builder,SdkBuilder<SearchQuickResponsesResponse.Builder,SearchQuickResponsesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- SearchQuickResponsesResponse
public static interface SearchQuickResponsesResponse.Builder extends QConnectResponse.Builder, SdkPojo, CopyableBuilder<SearchQuickResponsesResponse.Builder,SearchQuickResponsesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SearchQuickResponsesResponse.BuildernextToken(String nextToken)The token for the next set of results.SearchQuickResponsesResponse.Builderresults(Collection<QuickResponseSearchResultData> results)The results of the quick response search.SearchQuickResponsesResponse.Builderresults(Consumer<QuickResponseSearchResultData.Builder>... results)The results of the quick response search.SearchQuickResponsesResponse.Builderresults(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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
nextToken
SearchQuickResponsesResponse.Builder nextToken(String 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
SearchQuickResponsesResponse.Builder results(Collection<QuickResponseSearchResultData> 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(QuickResponseSearchResultData... 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 to#results(List.) - 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:
#results(java.util.Collection)
-
-