Interface SearchForSuggestionsResult.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SearchForSuggestionsResult.Builder,SearchForSuggestionsResult>,SdkBuilder<SearchForSuggestionsResult.Builder,SearchForSuggestionsResult>,SdkPojo
- Enclosing class:
- SearchForSuggestionsResult
public static interface SearchForSuggestionsResult.Builder extends SdkPojo, CopyableBuilder<SearchForSuggestionsResult.Builder,SearchForSuggestionsResult>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SearchForSuggestionsResult.Buildercategories(String... categories)The Amazon Location categories that describe the Place.SearchForSuggestionsResult.Buildercategories(Collection<String> categories)The Amazon Location categories that describe the Place.SearchForSuggestionsResult.BuilderplaceId(String placeId)The unique identifier of the Place.SearchForSuggestionsResult.BuildersupplementalCategories(String... supplementalCategories)Categories from the data provider that describe the Place that are not mapped to any Amazon Location categories.SearchForSuggestionsResult.BuildersupplementalCategories(Collection<String> supplementalCategories)Categories from the data provider that describe the Place that are not mapped to any Amazon Location categories.SearchForSuggestionsResult.Buildertext(String text)The text of the place suggestion, typically formatted as an address string.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
categories
SearchForSuggestionsResult.Builder categories(Collection<String> categories)
The Amazon Location categories that describe the Place.
For more information about using categories, including a list of Amazon Location categories, see Categories and filtering, in the Amazon Location Service Developer Guide.
- Parameters:
categories- The Amazon Location categories that describe the Place.For more information about using categories, including a list of Amazon Location categories, see Categories and filtering, in the Amazon Location Service Developer Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
categories
SearchForSuggestionsResult.Builder categories(String... categories)
The Amazon Location categories that describe the Place.
For more information about using categories, including a list of Amazon Location categories, see Categories and filtering, in the Amazon Location Service Developer Guide.
- Parameters:
categories- The Amazon Location categories that describe the Place.For more information about using categories, including a list of Amazon Location categories, see Categories and filtering, in the Amazon Location Service Developer Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
placeId
SearchForSuggestionsResult.Builder placeId(String placeId)
The unique identifier of the Place. You can use this with the
GetPlaceoperation to find the place again later, or to get full information for the Place.The
GetPlacerequest must use the samePlaceIndexresource as theSearchPlaceIndexForSuggestionsthat generated the Place ID.For
SearchPlaceIndexForSuggestionsoperations, thePlaceIdis returned by place indexes that use Esri, Grab, or HERE as data providers.- Parameters:
placeId- The unique identifier of the Place. You can use this with theGetPlaceoperation to find the place again later, or to get full information for the Place.The
GetPlacerequest must use the samePlaceIndexresource as theSearchPlaceIndexForSuggestionsthat generated the Place ID.For
SearchPlaceIndexForSuggestionsoperations, thePlaceIdis returned by place indexes that use Esri, Grab, or HERE as data providers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supplementalCategories
SearchForSuggestionsResult.Builder supplementalCategories(Collection<String> supplementalCategories)
Categories from the data provider that describe the Place that are not mapped to any Amazon Location categories.
- Parameters:
supplementalCategories- Categories from the data provider that describe the Place that are not mapped to any Amazon Location categories.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supplementalCategories
SearchForSuggestionsResult.Builder supplementalCategories(String... supplementalCategories)
Categories from the data provider that describe the Place that are not mapped to any Amazon Location categories.
- Parameters:
supplementalCategories- Categories from the data provider that describe the Place that are not mapped to any Amazon Location categories.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
text
SearchForSuggestionsResult.Builder text(String text)
The text of the place suggestion, typically formatted as an address string.
- Parameters:
text- The text of the place suggestion, typically formatted as an address string.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-