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 matching the input text.
|
SearchPlaceIndexForTextResponse.Builder |
results(Consumer<SearchForTextResult.Builder>... results)
A list of Places matching the input text.
|
SearchPlaceIndexForTextResponse.Builder |
results(SearchForTextResult... results)
A list of Places matching the input text.
|
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 matching the input text. Each result contains additional information about the specific point of interest.
Not all response properties are included with all responses. Some properties may only be returned by specific data partners.
results - A list of Places matching the input text. Each result contains additional information about the
specific point of interest.
Not all response properties are included with all responses. Some properties may only be returned by specific data partners.
SearchPlaceIndexForTextResponse.Builder results(SearchForTextResult... results)
A list of Places matching the input text. Each result contains additional information about the specific point of interest.
Not all response properties are included with all responses. Some properties may only be returned by specific data partners.
results - A list of Places matching the input text. Each result contains additional information about the
specific point of interest.
Not all response properties are included with all responses. Some properties may only be returned by specific data partners.
SearchPlaceIndexForTextResponse.Builder results(Consumer<SearchForTextResult.Builder>... results)
A list of Places matching the input text. Each result contains additional information about the specific point of interest.
Not all response properties are included with all responses. Some properties may only be returned by specific data partners.
This is a convenience method that creates an instance of theSearchForTextResult.Builder avoiding the need to
create one manually via SearchForTextResult.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #results(List.
results - a consumer that will call methods on
SearchForTextResult.Builder#results(java.util.Collection) SearchPlaceIndexForTextResponse.Builder summary(SearchPlaceIndexForTextSummary summary)
Contains a summary of the request. Echoes the input values for BiasPosition,
FilterBBox, FilterCountries, Language, MaxResults, and
Text. Also includes the DataSource of the place index and the bounding box,
ResultBBox, which surrounds the search results.
summary - Contains a summary of the request. Echoes the input values for BiasPosition,
FilterBBox, FilterCountries, Language, MaxResults,
and Text. Also includes the DataSource of the place index and the bounding
box, ResultBBox, which surrounds the search results.default SearchPlaceIndexForTextResponse.Builder summary(Consumer<SearchPlaceIndexForTextSummary.Builder> summary)
Contains a summary of the request. Echoes the input values for BiasPosition,
FilterBBox, FilterCountries, Language, MaxResults, and
Text. Also includes the DataSource of the place index and the bounding box,
ResultBBox, which surrounds the search results.
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 © 2023. All rights reserved.