public static interface SearchResponse.Builder extends DataZoneResponse.Builder, SdkPojo, CopyableBuilder<SearchResponse.Builder,SearchResponse>
| Modifier and Type | Method and Description |
|---|---|
SearchResponse.Builder |
items(Collection<SearchInventoryResultItem> items)
The results of the
Search action. |
SearchResponse.Builder |
items(Consumer<SearchInventoryResultItem.Builder>... items)
The results of the
Search action. |
SearchResponse.Builder |
items(SearchInventoryResultItem... items)
The results of the
Search action. |
SearchResponse.Builder |
nextToken(String nextToken)
When the number of results is greater than the default value for the
MaxResults parameter, or if
you explicitly specify a value for MaxResults that is less than the number of results, the
response includes a pagination token named NextToken. |
SearchResponse.Builder |
totalMatchCount(Integer totalMatchCount)
Total number of search results.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildSearchResponse.Builder items(Collection<SearchInventoryResultItem> items)
The results of the Search action.
items - The results of the Search action.SearchResponse.Builder items(SearchInventoryResultItem... items)
The results of the Search action.
items - The results of the Search action.SearchResponse.Builder items(Consumer<SearchInventoryResultItem.Builder>... items)
The results of the Search action.
SearchInventoryResultItem.Builder avoiding the need to
create one manually via
SearchInventoryResultItem.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #items(List.
items - a consumer that will call methods on
SearchInventoryResultItem.Builder#items(java.util.Collection) SearchResponse.Builder nextToken(String nextToken)
When the number of results is greater than the default value for the MaxResults parameter, or if
you explicitly specify a value for MaxResults that is less than the number of results, the
response includes a pagination token named NextToken. You can specify this
NextToken value in a subsequent call to Search to list the next set of results.
nextToken - When the number of results is greater than the default value for the MaxResults
parameter, or if you explicitly specify a value for MaxResults that is less than the
number of results, the response includes a pagination token named NextToken. You can
specify this NextToken value in a subsequent call to Search to list the next
set of results.SearchResponse.Builder totalMatchCount(Integer totalMatchCount)
Total number of search results.
totalMatchCount - Total number of search results.Copyright © 2023. All rights reserved.