public static interface SearchPlaceIndexForTextRequest.Builder extends LocationRequest.Builder, SdkPojo, CopyableBuilder<SearchPlaceIndexForTextRequest.Builder,SearchPlaceIndexForTextRequest>
| Modifier and Type | Method and Description |
|---|---|
SearchPlaceIndexForTextRequest.Builder |
biasPosition(Collection<Double> biasPosition)
Searches for results closest to the given position.
|
SearchPlaceIndexForTextRequest.Builder |
biasPosition(Double... biasPosition)
Searches for results closest to the given position.
|
SearchPlaceIndexForTextRequest.Builder |
filterBBox(Collection<Double> filterBBox)
Filters the results by returning only Places within the provided bounding box.
|
SearchPlaceIndexForTextRequest.Builder |
filterBBox(Double... filterBBox)
Filters the results by returning only Places within the provided bounding box.
|
SearchPlaceIndexForTextRequest.Builder |
filterCountries(Collection<String> filterCountries)
Limits the search to the given a list of countries/regions.
|
SearchPlaceIndexForTextRequest.Builder |
filterCountries(String... filterCountries)
Limits the search to the given a list of countries/regions.
|
SearchPlaceIndexForTextRequest.Builder |
indexName(String indexName)
The name of the place index resource you want to use for the search.
|
SearchPlaceIndexForTextRequest.Builder |
maxResults(Integer maxResults)
An optional parameter.
|
SearchPlaceIndexForTextRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
SearchPlaceIndexForTextRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
SearchPlaceIndexForTextRequest.Builder |
text(String text)
The address, name, city, or region to be used in the search.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildSearchPlaceIndexForTextRequest.Builder biasPosition(Collection<Double> biasPosition)
Searches for results closest to the given position. An optional parameter defined by longitude, and latitude.
The first bias position is the X coordinate, or longitude.
The second bias position is the Y coordinate, or latitude.
For example, bias=xLongitude&bias=yLatitude.
biasPosition - Searches for results closest to the given position. An optional parameter defined by longitude, and
latitude.
The first bias position is the X coordinate, or longitude.
The second bias position is the Y coordinate, or latitude.
For example, bias=xLongitude&bias=yLatitude.
SearchPlaceIndexForTextRequest.Builder biasPosition(Double... biasPosition)
Searches for results closest to the given position. An optional parameter defined by longitude, and latitude.
The first bias position is the X coordinate, or longitude.
The second bias position is the Y coordinate, or latitude.
For example, bias=xLongitude&bias=yLatitude.
biasPosition - Searches for results closest to the given position. An optional parameter defined by longitude, and
latitude.
The first bias position is the X coordinate, or longitude.
The second bias position is the Y coordinate, or latitude.
For example, bias=xLongitude&bias=yLatitude.
SearchPlaceIndexForTextRequest.Builder filterBBox(Collection<Double> filterBBox)
Filters the results by returning only Places within the provided bounding box. An optional parameter.
The first 2 bbox parameters describe the lower southwest corner:
The first bbox position is the X coordinate or longitude of the lower southwest corner.
The second bbox position is the Y coordinate or latitude of the lower southwest corner.
For example, bbox=xLongitudeSW&bbox=yLatitudeSW.
The next bbox parameters describe the upper northeast corner:
The third bbox position is the X coordinate, or longitude of the upper northeast corner.
The fourth bbox position is the Y coordinate, or longitude of the upper northeast corner.
For example, bbox=xLongitudeNE&bbox=yLatitudeNE
filterBBox - Filters the results by returning only Places within the provided bounding box. An optional
parameter.
The first 2 bbox parameters describe the lower southwest corner:
The first bbox position is the X coordinate or longitude of the lower southwest corner.
The second bbox position is the Y coordinate or latitude of the lower southwest corner.
For example, bbox=xLongitudeSW&bbox=yLatitudeSW.
The next bbox parameters describe the upper northeast corner:
The third bbox position is the X coordinate, or longitude of the upper northeast corner.
The fourth bbox position is the Y coordinate, or longitude of the upper northeast corner.
For example, bbox=xLongitudeNE&bbox=yLatitudeNE
SearchPlaceIndexForTextRequest.Builder filterBBox(Double... filterBBox)
Filters the results by returning only Places within the provided bounding box. An optional parameter.
The first 2 bbox parameters describe the lower southwest corner:
The first bbox position is the X coordinate or longitude of the lower southwest corner.
The second bbox position is the Y coordinate or latitude of the lower southwest corner.
For example, bbox=xLongitudeSW&bbox=yLatitudeSW.
The next bbox parameters describe the upper northeast corner:
The third bbox position is the X coordinate, or longitude of the upper northeast corner.
The fourth bbox position is the Y coordinate, or longitude of the upper northeast corner.
For example, bbox=xLongitudeNE&bbox=yLatitudeNE
filterBBox - Filters the results by returning only Places within the provided bounding box. An optional
parameter.
The first 2 bbox parameters describe the lower southwest corner:
The first bbox position is the X coordinate or longitude of the lower southwest corner.
The second bbox position is the Y coordinate or latitude of the lower southwest corner.
For example, bbox=xLongitudeSW&bbox=yLatitudeSW.
The next bbox parameters describe the upper northeast corner:
The third bbox position is the X coordinate, or longitude of the upper northeast corner.
The fourth bbox position is the Y coordinate, or longitude of the upper northeast corner.
For example, bbox=xLongitudeNE&bbox=yLatitudeNE
SearchPlaceIndexForTextRequest.Builder filterCountries(Collection<String> filterCountries)
Limits the search to the given a list of countries/regions. An optional parameter.
Use the ISO 3166 3-digit country code. For
example, Australia uses three upper-case characters: AUS.
filterCountries - Limits the search to the given a list of countries/regions. An optional parameter.
Use the ISO 3166 3-digit country code.
For example, Australia uses three upper-case characters: AUS.
SearchPlaceIndexForTextRequest.Builder filterCountries(String... filterCountries)
Limits the search to the given a list of countries/regions. An optional parameter.
Use the ISO 3166 3-digit country code. For
example, Australia uses three upper-case characters: AUS.
filterCountries - Limits the search to the given a list of countries/regions. An optional parameter.
Use the ISO 3166 3-digit country code.
For example, Australia uses three upper-case characters: AUS.
SearchPlaceIndexForTextRequest.Builder indexName(String indexName)
The name of the place index resource you want to use for the search.
indexName - The name of the place index resource you want to use for the search.SearchPlaceIndexForTextRequest.Builder maxResults(Integer maxResults)
An optional parameter. The maximum number of results returned per request.
The default: 50
maxResults - An optional parameter. The maximum number of results returned per request.
The default: 50
SearchPlaceIndexForTextRequest.Builder text(String text)
The address, name, city, or region to be used in the search. In free-form text format. For example,
123 Any Street.
text - The address, name, city, or region to be used in the search. In free-form text format. For example,
123 Any Street.SearchPlaceIndexForTextRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderSearchPlaceIndexForTextRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2021. All rights reserved.