public static interface SearchPlaceIndexForTextResponse.Builder extends LocationResponse.Builder, SdkPojo, CopyableBuilder<SearchPlaceIndexForTextResponse.Builder,SearchPlaceIndexForTextResponse>
| Modifier and Type | Method and Description |
|---|---|
SearchPlaceIndexForTextResponse.Builder |
results(Collection<SearchForTextResult> results)
A list of Places closest to the specified position.
|
SearchPlaceIndexForTextResponse.Builder |
results(Consumer<SearchForTextResult.Builder>... results)
A list of Places closest to the specified position.
|
SearchPlaceIndexForTextResponse.Builder |
results(SearchForTextResult... results)
A list of Places closest to the specified position.
|
default SearchPlaceIndexForTextResponse.Builder |
summary(Consumer<SearchPlaceIndexForTextSummary.Builder> summary)
Contains a summary of the request.
|
SearchPlaceIndexForTextResponse.Builder |
summary(SearchPlaceIndexForTextSummary summary)
Contains a summary of the request.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildSearchPlaceIndexForTextResponse.Builder results(Collection<SearchForTextResult> results)
A list of Places closest to the specified position. Each result contains additional information about the specific point of interest.
results - A list of Places closest to the specified position. Each result contains additional information about
the specific point of interest.SearchPlaceIndexForTextResponse.Builder results(SearchForTextResult... results)
A list of Places closest to the specified position. Each result contains additional information about the specific point of interest.
results - A list of Places closest to the specified position. Each result contains additional information about
the specific point of interest.SearchPlaceIndexForTextResponse.Builder results(Consumer<SearchForTextResult.Builder>... results)
A list of Places closest to the specified position. Each result contains additional information about the specific point of interest.
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) SearchPlaceIndexForTextResponse.Builder summary(SearchPlaceIndexForTextSummary summary)
Contains a summary of the request. Contains the BiasPosition, DataSource,
FilterBBox, FilterCountries, MaxResults, ResultBBox, and
Text.
summary - Contains a summary of the request. Contains the BiasPosition, DataSource,
FilterBBox, FilterCountries, MaxResults,
ResultBBox, and Text.default SearchPlaceIndexForTextResponse.Builder summary(Consumer<SearchPlaceIndexForTextSummary.Builder> summary)
Contains a summary of the request. Contains the BiasPosition, DataSource,
FilterBBox, FilterCountries, MaxResults, ResultBBox, and
Text.
SearchPlaceIndexForTextSummary.Builder avoiding
the need to create one manually via SearchPlaceIndexForTextSummary.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to summary(SearchPlaceIndexForTextSummary).summary - a consumer that will call methods on SearchPlaceIndexForTextSummary.Buildersummary(SearchPlaceIndexForTextSummary)Copyright © 2021. All rights reserved.