public static interface SearchResponse.Builder extends SageMakerResponse.Builder, SdkPojo, CopyableBuilder<SearchResponse.Builder,SearchResponse>
| Modifier and Type | Method and Description |
|---|---|
SearchResponse.Builder |
nextToken(String nextToken)
If the result of the previous
Search request was truncated, the response includes a NextToken. |
SearchResponse.Builder |
results(Collection<SearchRecord> results)
A list of
SearchResult objects. |
SearchResponse.Builder |
results(Consumer<SearchRecord.Builder>... results)
A list of
SearchResult objects. |
SearchResponse.Builder |
results(SearchRecord... results)
A list of
SearchResult objects. |
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponsecopyapplyMutation, buildSearchResponse.Builder results(Collection<SearchRecord> results)
A list of SearchResult objects.
results - A list of SearchResult objects.SearchResponse.Builder results(SearchRecord... results)
A list of SearchResult objects.
results - A list of SearchResult objects.SearchResponse.Builder results(Consumer<SearchRecord.Builder>... results)
A list of SearchResult objects.
List.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #results(List) .results - a consumer that will call methods on List.Builder #results(List) SearchResponse.Builder nextToken(String nextToken)
If the result of the previous Search request was truncated, the response includes a NextToken.
To retrieve the next set of results, use the token in the next request.
nextToken - If the result of the previous Search request was truncated, the response includes a
NextToken. To retrieve the next set of results, use the token in the next request.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.