Interface SearchPlaceIndexForSuggestionsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<SearchPlaceIndexForSuggestionsResponse.Builder,SearchPlaceIndexForSuggestionsResponse>,LocationResponse.Builder,SdkBuilder<SearchPlaceIndexForSuggestionsResponse.Builder,SearchPlaceIndexForSuggestionsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- SearchPlaceIndexForSuggestionsResponse
public static interface SearchPlaceIndexForSuggestionsResponse.Builder extends LocationResponse.Builder, SdkPojo, CopyableBuilder<SearchPlaceIndexForSuggestionsResponse.Builder,SearchPlaceIndexForSuggestionsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description SearchPlaceIndexForSuggestionsResponse.Builderresults(Collection<SearchForSuggestionsResult> results)A list of place suggestions that best match the search text.SearchPlaceIndexForSuggestionsResponse.Builderresults(Consumer<SearchForSuggestionsResult.Builder>... results)A list of place suggestions that best match the search text.SearchPlaceIndexForSuggestionsResponse.Builderresults(SearchForSuggestionsResult... results)A list of place suggestions that best match the search text.default SearchPlaceIndexForSuggestionsResponse.Buildersummary(Consumer<SearchPlaceIndexForSuggestionsSummary.Builder> summary)Contains a summary of the request.SearchPlaceIndexForSuggestionsResponse.Buildersummary(SearchPlaceIndexForSuggestionsSummary summary)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 Detail
-
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 theDataSourceof the place index.- Parameters:
summary- Contains a summary of the request. Echoes the input values forBiasPosition,FilterBBox,FilterCountries,Language,MaxResults, andText. Also includes theDataSourceof 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 theDataSourceof the place index.SearchPlaceIndexForSuggestionsSummary.Builderavoiding the need to create one manually viaSearchPlaceIndexForSuggestionsSummary.builder().When the
Consumercompletes,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:
summary(SearchPlaceIndexForSuggestionsSummary)
-
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
SearchPlaceIndexForSuggestionsResponse.Builder results(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
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.Builderavoiding the need to create one manually viaSearchForSuggestionsResult.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#results(List.) - 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:
#results(java.util.Collection)
-
-