public static interface SearchPlaceIndexForPositionRequest.Builder extends LocationRequest.Builder, SdkPojo, CopyableBuilder<SearchPlaceIndexForPositionRequest.Builder,SearchPlaceIndexForPositionRequest>
| Modifier and Type | Method and Description |
|---|---|
SearchPlaceIndexForPositionRequest.Builder |
indexName(String indexName)
The name of the place index resource you want to use for the search.
|
SearchPlaceIndexForPositionRequest.Builder |
language(String language)
The preferred language used to return results.
|
SearchPlaceIndexForPositionRequest.Builder |
maxResults(Integer maxResults)
An optional parameter.
|
SearchPlaceIndexForPositionRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
SearchPlaceIndexForPositionRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
SearchPlaceIndexForPositionRequest.Builder |
position(Collection<Double> position)
Specifies the longitude and latitude of the position to query.
|
SearchPlaceIndexForPositionRequest.Builder |
position(Double... position)
Specifies the longitude and latitude of the position to query.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildSearchPlaceIndexForPositionRequest.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.SearchPlaceIndexForPositionRequest.Builder language(String language)
The preferred language used to return results. The value must be a valid BCP 47 language tag, for example, en for English.
This setting affects the languages used in the results. It does not change which results are returned. If the language is not specified, or not supported for a particular result, the partner automatically chooses a language for the result.
language - The preferred language used to return results. The value must be a valid BCP 47 language tag, for example, en for
English.
This setting affects the languages used in the results. It does not change which results are returned. If the language is not specified, or not supported for a particular result, the partner automatically chooses a language for the result.
SearchPlaceIndexForPositionRequest.Builder maxResults(Integer maxResults)
An optional parameter. The maximum number of results returned per request.
Default value: 50
maxResults - An optional parameter. The maximum number of results returned per request.
Default value: 50
SearchPlaceIndexForPositionRequest.Builder position(Collection<Double> position)
Specifies the longitude and latitude of the position to query.
This parameter must contain a pair of numbers. The first number represents the X coordinate, or longitude; the second number represents the Y coordinate, or latitude.
For example, [-123.1174, 49.2847] represents a position with longitude -123.1174
and latitude 49.2847.
position - Specifies the longitude and latitude of the position to query.
This parameter must contain a pair of numbers. The first number represents the X coordinate, or longitude; the second number represents the Y coordinate, or latitude.
For example, [-123.1174, 49.2847] represents a position with longitude
-123.1174 and latitude 49.2847.
SearchPlaceIndexForPositionRequest.Builder position(Double... position)
Specifies the longitude and latitude of the position to query.
This parameter must contain a pair of numbers. The first number represents the X coordinate, or longitude; the second number represents the Y coordinate, or latitude.
For example, [-123.1174, 49.2847] represents a position with longitude -123.1174
and latitude 49.2847.
position - Specifies the longitude and latitude of the position to query.
This parameter must contain a pair of numbers. The first number represents the X coordinate, or longitude; the second number represents the Y coordinate, or latitude.
For example, [-123.1174, 49.2847] represents a position with longitude
-123.1174 and latitude 49.2847.
SearchPlaceIndexForPositionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderSearchPlaceIndexForPositionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.