public static interface SearchPlaceIndexForSuggestionsResponse.Builder extends LocationResponse.Builder, SdkPojo, CopyableBuilder<SearchPlaceIndexForSuggestionsResponse.Builder,SearchPlaceIndexForSuggestionsResponse>
| Modifier and Type | Method and Description |
|---|---|
SearchPlaceIndexForSuggestionsResponse.Builder |
results(Collection<SearchForSuggestionsResult> results)
A list of place suggestions that best match the search text.
|
SearchPlaceIndexForSuggestionsResponse.Builder |
results(Consumer<SearchForSuggestionsResult.Builder>... results)
A list of place suggestions that best match the search text.
|
SearchPlaceIndexForSuggestionsResponse.Builder |
results(SearchForSuggestionsResult... results)
A list of place suggestions that best match the search text.
|
default SearchPlaceIndexForSuggestionsResponse.Builder |
summary(Consumer<SearchPlaceIndexForSuggestionsSummary.Builder> summary)
Contains a summary of the request.
|
SearchPlaceIndexForSuggestionsResponse.Builder |
summary(SearchPlaceIndexForSuggestionsSummary summary)
Contains a summary of the request.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildSearchPlaceIndexForSuggestionsResponse.Builder results(Collection<SearchForSuggestionsResult> results)
A list of place suggestions that best match the search text.
results - A list of place suggestions that best match the search text.SearchPlaceIndexForSuggestionsResponse.Builder results(SearchForSuggestionsResult... results)
A list of place suggestions that best match the search text.
results - A list of place suggestions that best match the search text.SearchPlaceIndexForSuggestionsResponse.Builder results(Consumer<SearchForSuggestionsResult.Builder>... results)
A list of place suggestions that best match the search text.
This is a convenience method that creates an instance of theSearchForSuggestionsResult.Builder avoiding the need
to create one manually via
SearchForSuggestionsResult.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
SearchForSuggestionsResult.Builder#results(java.util.Collection) SearchPlaceIndexForSuggestionsResponse.Builder summary(SearchPlaceIndexForSuggestionsSummary 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.
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.default SearchPlaceIndexForSuggestionsResponse.Builder summary(Consumer<SearchPlaceIndexForSuggestionsSummary.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.
SearchPlaceIndexForSuggestionsSummary.Builder avoiding the need to create one manually via
SearchPlaceIndexForSuggestionsSummary.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to summary(SearchPlaceIndexForSuggestionsSummary).
summary - a consumer that will call methods on SearchPlaceIndexForSuggestionsSummary.Buildersummary(SearchPlaceIndexForSuggestionsSummary)Copyright © 2023. All rights reserved.