public static interface SearchPlaceIndexForPositionResponse.Builder extends LocationResponse.Builder, SdkPojo, CopyableBuilder<SearchPlaceIndexForPositionResponse.Builder,SearchPlaceIndexForPositionResponse>
| Modifier and Type | Method and Description |
|---|---|
SearchPlaceIndexForPositionResponse.Builder |
results(Collection<SearchForPositionResult> results)
Returns a list of Places closest to the specified position.
|
SearchPlaceIndexForPositionResponse.Builder |
results(Consumer<SearchForPositionResult.Builder>... results)
Returns a list of Places closest to the specified position.
|
SearchPlaceIndexForPositionResponse.Builder |
results(SearchForPositionResult... results)
Returns a list of Places closest to the specified position.
|
default SearchPlaceIndexForPositionResponse.Builder |
summary(Consumer<SearchPlaceIndexForPositionSummary.Builder> summary)
Contains a summary of the request.
|
SearchPlaceIndexForPositionResponse.Builder |
summary(SearchPlaceIndexForPositionSummary summary)
Contains a summary of the request.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildSearchPlaceIndexForPositionResponse.Builder results(Collection<SearchForPositionResult> results)
Returns a list of Places closest to the specified position. Each result contains additional information about the Places returned.
results - Returns a list of Places closest to the specified position. Each result contains additional
information about the Places returned.SearchPlaceIndexForPositionResponse.Builder results(SearchForPositionResult... results)
Returns a list of Places closest to the specified position. Each result contains additional information about the Places returned.
results - Returns a list of Places closest to the specified position. Each result contains additional
information about the Places returned.SearchPlaceIndexForPositionResponse.Builder results(Consumer<SearchForPositionResult.Builder>... results)
Returns a list of Places closest to the specified position. Each result contains additional information about the Places returned.
This is a convenience that creates an instance of theList.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) SearchPlaceIndexForPositionResponse.Builder summary(SearchPlaceIndexForPositionSummary summary)
Contains a summary of the request. Echoes the input values for Position, Language,
MaxResults, and the DataSource of the place index.
summary - Contains a summary of the request. Echoes the input values for Position,
Language, MaxResults, and the DataSource of the place index.default SearchPlaceIndexForPositionResponse.Builder summary(Consumer<SearchPlaceIndexForPositionSummary.Builder> summary)
Contains a summary of the request. Echoes the input values for Position, Language,
MaxResults, and the DataSource of the place index.
SearchPlaceIndexForPositionSummary.Builder
avoiding the need to create one manually via SearchPlaceIndexForPositionSummary.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to summary(SearchPlaceIndexForPositionSummary).summary - a consumer that will call methods on SearchPlaceIndexForPositionSummary.Buildersummary(SearchPlaceIndexForPositionSummary)Copyright © 2022. All rights reserved.