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
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
-
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.Builder
avoiding the need to create one manually viaSearchForTextResult.builder()
.When the
Consumer
completes,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:
-
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 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 theDataSource
of 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 theDataSource
of the place index and the bounding box,ResultBBox
, which surrounds the search results.SearchPlaceIndexForTextSummary.Builder
avoiding the need to create one manually viaSearchPlaceIndexForTextSummary.builder()
.When the
Consumer
completes,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:
-