Interface SearchPlaceIndexForSuggestionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<SearchPlaceIndexForSuggestionsResponse.Builder,
,SearchPlaceIndexForSuggestionsResponse> LocationResponse.Builder
,SdkBuilder<SearchPlaceIndexForSuggestionsResponse.Builder,
,SearchPlaceIndexForSuggestionsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
SearchPlaceIndexForSuggestionsResponse
-
Method Summary
Modifier and TypeMethodDescriptionresults
(Collection<SearchForSuggestionsResult> results) A list of place suggestions that best match the search text.results
(Consumer<SearchForSuggestionsResult.Builder>... results) A list of place suggestions that best match the search text.results
(SearchForSuggestionsResult... results) A list of place suggestions that best match the search text.Contains a summary of the request.Contains a summary of the request.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.location.model.LocationResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
summary
SearchPlaceIndexForSuggestionsResponse.Builder summary(SearchPlaceIndexForSuggestionsSummary summary) Contains a summary of the request. Echoes the input values for
BiasPosition
,FilterBBox
,FilterCountries
,Language
,MaxResults
, andText
. Also includes theDataSource
of the place index.- Parameters:
summary
- Contains a summary of the request. Echoes the input values forBiasPosition
,FilterBBox
,FilterCountries
,Language
,MaxResults
, andText
. Also includes theDataSource
of the place index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
summary
default SearchPlaceIndexForSuggestionsResponse.Builder summary(Consumer<SearchPlaceIndexForSuggestionsSummary.Builder> summary) Contains a summary of the request. Echoes the input values for
This is a convenience method that creates an instance of theBiasPosition
,FilterBBox
,FilterCountries
,Language
,MaxResults
, andText
. Also includes theDataSource
of the place index.SearchPlaceIndexForSuggestionsSummary.Builder
avoiding the need to create one manually viaSearchPlaceIndexForSuggestionsSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosummary(SearchPlaceIndexForSuggestionsSummary)
.- Parameters:
summary
- a consumer that will call methods onSearchPlaceIndexForSuggestionsSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
results
SearchPlaceIndexForSuggestionsResponse.Builder results(Collection<SearchForSuggestionsResult> results) A list of place suggestions that best match the search text.
- Parameters:
results
- A list of place suggestions that best match the search text.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
results
A list of place suggestions that best match the search text.
- Parameters:
results
- A list of place suggestions that best match the search text.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
results
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 viaSearchForSuggestionsResult.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresults(List<SearchForSuggestionsResult>)
.- Parameters:
results
- a consumer that will call methods onSearchForSuggestionsResult.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-