Interface SearchForTextResult.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<SearchForTextResult.Builder,,- SearchForTextResult> - SdkBuilder<SearchForTextResult.Builder,,- SearchForTextResult> - SdkPojo
- Enclosing class:
- SearchForTextResult
- 
Method SummaryModifier and TypeMethodDescriptionThe distance in meters of a great-circle arc between the bias position specified and the result.default SearchForTextResult.Builderplace(Consumer<Place.Builder> place) Details about the search result, such as its address and position.Details about the search result, such as its address and position.The unique identifier of the place.The relative confidence in the match for a result among the results returned.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
placeDetails about the search result, such as its address and position. - Parameters:
- place- Details about the search result, such as its address and position.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
placeDetails about the search result, such as its address and position. This is a convenience method that creates an instance of thePlace.Builderavoiding the need to create one manually viaPlace.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toplace(Place).- Parameters:
- place- a consumer that will call methods on- Place.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
distanceThe distance in meters of a great-circle arc between the bias position specified and the result. Distancewill be returned only if a bias position was specified in the query.A great-circle arc is the shortest path on a sphere, in this case the Earth. This returns the shortest distance between two locations. - Parameters:
- distance- The distance in meters of a great-circle arc between the bias position specified and the result.- Distancewill be returned only if a bias position was specified in the query.- A great-circle arc is the shortest path on a sphere, in this case the Earth. This returns the shortest distance between two locations. 
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
relevanceThe relative confidence in the match for a result among the results returned. For example, if more fields for an address match (including house number, street, city, country/region, and postal code), the relevance score is closer to 1. Returned only when the partner selected is Esri or Grab. - Parameters:
- relevance- The relative confidence in the match for a result among the results returned. For example, if more fields for an address match (including house number, street, city, country/region, and postal code), the relevance score is closer to 1.- Returned only when the partner selected is Esri or Grab. 
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
placeIdThe unique identifier of the place. You can use this with the GetPlaceoperation to find the place again later.For SearchPlaceIndexForTextoperations, thePlaceIdis returned only by place indexes that use HERE or Grab as a data provider.- Parameters:
- placeId- The unique identifier of the place. You can use this with the- GetPlaceoperation to find the place again later.- For - SearchPlaceIndexForTextoperations, the- PlaceIdis returned only by place indexes that use HERE or Grab as a data provider.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-