Interface SearchPlaceIndexForTextResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<SearchPlaceIndexForTextResponse.Builder,,SearchPlaceIndexForTextResponse> LocationResponse.Builder,SdkBuilder<SearchPlaceIndexForTextResponse.Builder,,SearchPlaceIndexForTextResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
SearchPlaceIndexForTextResponse
-
Method Summary
Modifier and TypeMethodDescriptionresults(Collection<SearchForTextResult> results) A list of Places matching the input text.results(Consumer<SearchForTextResult.Builder>... results) A list of Places matching the input text.results(SearchForTextResult... results) A list of Places matching the input text.Contains a summary of the request.summary(SearchPlaceIndexForTextSummary summary) Contains a summary of the request.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.location.model.LocationResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
summary
Contains a summary of the request. Echoes the input values for
BiasPosition,FilterBBox,FilterCountries,Language,MaxResults, andText. Also includes theDataSourceof the place index and the bounding box,ResultBBox, which surrounds the search results.- Parameters:
summary- Contains a summary of the request. Echoes the input values forBiasPosition,FilterBBox,FilterCountries,Language,MaxResults, andText. Also includes theDataSourceof the place index and the bounding box,ResultBBox, which surrounds the search results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
summary
default SearchPlaceIndexForTextResponse.Builder summary(Consumer<SearchPlaceIndexForTextSummary.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 and the bounding box,ResultBBox, which surrounds the search results.SearchPlaceIndexForTextSummary.Builderavoiding the need to create one manually viaSearchPlaceIndexForTextSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosummary(SearchPlaceIndexForTextSummary).- Parameters:
summary- a consumer that will call methods onSearchPlaceIndexForTextSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.Builderavoiding the need to create one manually viaSearchForTextResult.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresults(List<SearchForTextResult>).- Parameters:
results- a consumer that will call methods onSearchForTextResult.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-