Interface SearchPlaceIndexForPositionResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<SearchPlaceIndexForPositionResponse.Builder,SearchPlaceIndexForPositionResponse>,LocationResponse.Builder,SdkBuilder<SearchPlaceIndexForPositionResponse.Builder,SearchPlaceIndexForPositionResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- SearchPlaceIndexForPositionResponse
public static interface SearchPlaceIndexForPositionResponse.Builder extends LocationResponse.Builder, SdkPojo, CopyableBuilder<SearchPlaceIndexForPositionResponse.Builder,SearchPlaceIndexForPositionResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description SearchPlaceIndexForPositionResponse.Builderresults(Collection<SearchForPositionResult> results)Returns a list of Places closest to the specified position.SearchPlaceIndexForPositionResponse.Builderresults(Consumer<SearchForPositionResult.Builder>... results)Returns a list of Places closest to the specified position.SearchPlaceIndexForPositionResponse.Builderresults(SearchForPositionResult... results)Returns a list of Places closest to the specified position.default SearchPlaceIndexForPositionResponse.Buildersummary(Consumer<SearchPlaceIndexForPositionSummary.Builder> summary)Contains a summary of the request.SearchPlaceIndexForPositionResponse.Buildersummary(SearchPlaceIndexForPositionSummary 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
SearchPlaceIndexForPositionResponse.Builder summary(SearchPlaceIndexForPositionSummary summary)
Contains a summary of the request. Echoes the input values for
Position,Language,MaxResults, and theDataSourceof the place index.- Parameters:
summary- Contains a summary of the request. Echoes the input values forPosition,Language,MaxResults, and theDataSourceof the place index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
summary
default SearchPlaceIndexForPositionResponse.Builder summary(Consumer<SearchPlaceIndexForPositionSummary.Builder> summary)
Contains a summary of the request. Echoes the input values for
This is a convenience method that creates an instance of thePosition,Language,MaxResults, and theDataSourceof the place index.SearchPlaceIndexForPositionSummary.Builderavoiding the need to create one manually viaSearchPlaceIndexForPositionSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosummary(SearchPlaceIndexForPositionSummary).- Parameters:
summary- a consumer that will call methods onSearchPlaceIndexForPositionSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
summary(SearchPlaceIndexForPositionSummary)
-
results
SearchPlaceIndexForPositionResponse.Builder results(Collection<SearchForPositionResult> results)
Returns a list of Places closest to the specified position. Each result contains additional information about the Places returned.
- Parameters:
results- Returns a list of Places closest to the specified position. Each result contains additional information about the Places returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
results
SearchPlaceIndexForPositionResponse.Builder results(SearchForPositionResult... results)
Returns a list of Places closest to the specified position. Each result contains additional information about the Places returned.
- Parameters:
results- Returns a list of Places closest to the specified position. Each result contains additional information about the Places returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
results
SearchPlaceIndexForPositionResponse.Builder results(Consumer<SearchForPositionResult.Builder>... results)
Returns a list of Places closest to the specified position. Each result contains additional information about the Places returned.
This is a convenience method that creates an instance of theSearchForPositionResult.Builderavoiding the need to create one manually viaSearchForPositionResult.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 onSearchForPositionResult.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#results(java.util.Collection)
-
-