@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SearchPlaceIndexForTextRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
SearchPlaceIndexForTextRequest() |
Modifier and Type | Method and Description |
---|---|
SearchPlaceIndexForTextRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<Double> |
getBiasPosition()
Searches for results closest to the given position.
|
List<Double> |
getFilterBBox()
Filters the results by returning only Places within the provided bounding box.
|
List<String> |
getFilterCountries()
Limits the search to the given a list of countries/regions.
|
String |
getIndexName()
The name of the place index resource you want to use for the search.
|
Integer |
getMaxResults()
An optional parameter.
|
String |
getText()
The address, name, city, or region to be used in the search.
|
int |
hashCode() |
void |
setBiasPosition(Collection<Double> biasPosition)
Searches for results closest to the given position.
|
void |
setFilterBBox(Collection<Double> filterBBox)
Filters the results by returning only Places within the provided bounding box.
|
void |
setFilterCountries(Collection<String> filterCountries)
Limits the search to the given a list of countries/regions.
|
void |
setIndexName(String indexName)
The name of the place index resource you want to use for the search.
|
void |
setMaxResults(Integer maxResults)
An optional parameter.
|
void |
setText(String text)
The address, name, city, or region to be used in the search.
|
String |
toString()
Returns a string representation of this object.
|
SearchPlaceIndexForTextRequest |
withBiasPosition(Collection<Double> biasPosition)
Searches for results closest to the given position.
|
SearchPlaceIndexForTextRequest |
withBiasPosition(Double... biasPosition)
Searches for results closest to the given position.
|
SearchPlaceIndexForTextRequest |
withFilterBBox(Collection<Double> filterBBox)
Filters the results by returning only Places within the provided bounding box.
|
SearchPlaceIndexForTextRequest |
withFilterBBox(Double... filterBBox)
Filters the results by returning only Places within the provided bounding box.
|
SearchPlaceIndexForTextRequest |
withFilterCountries(Collection<String> filterCountries)
Limits the search to the given a list of countries/regions.
|
SearchPlaceIndexForTextRequest |
withFilterCountries(String... filterCountries)
Limits the search to the given a list of countries/regions.
|
SearchPlaceIndexForTextRequest |
withIndexName(String indexName)
The name of the place index resource you want to use for the search.
|
SearchPlaceIndexForTextRequest |
withMaxResults(Integer maxResults)
An optional parameter.
|
SearchPlaceIndexForTextRequest |
withText(String text)
The address, name, city, or region to be used in the search.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public List<Double> getBiasPosition()
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
.
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
.
public void setBiasPosition(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
.
public SearchPlaceIndexForTextRequest withBiasPosition(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
.
NOTE: This method appends the values to the existing list (if any). Use
setBiasPosition(java.util.Collection)
or withBiasPosition(java.util.Collection)
if you want to
override the existing values.
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
.
public SearchPlaceIndexForTextRequest withBiasPosition(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
.
public List<Double> getFilterBBox()
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
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
public void setFilterBBox(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
public SearchPlaceIndexForTextRequest withFilterBBox(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
NOTE: This method appends the values to the existing list (if any). Use
setFilterBBox(java.util.Collection)
or withFilterBBox(java.util.Collection)
if you want to
override the existing values.
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
public SearchPlaceIndexForTextRequest withFilterBBox(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
public List<String> getFilterCountries()
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
.
Use the ISO 3166 3-digit country code. For
example, Australia uses three upper-case characters: AUS
.
public void setFilterCountries(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
.
public SearchPlaceIndexForTextRequest withFilterCountries(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
.
NOTE: This method appends the values to the existing list (if any). Use
setFilterCountries(java.util.Collection)
or withFilterCountries(java.util.Collection)
if you
want to override the existing values.
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
.
public SearchPlaceIndexForTextRequest withFilterCountries(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
.
public void setIndexName(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.public String getIndexName()
The name of the place index resource you want to use for the search.
public SearchPlaceIndexForTextRequest withIndexName(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.public void setMaxResults(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
public Integer getMaxResults()
An optional parameter. The maximum number of results returned per request.
The default: 50
The default: 50
public SearchPlaceIndexForTextRequest withMaxResults(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
public void setText(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
.public String getText()
The address, name, city, or region to be used in the search. In free-form text format. For example,
123 Any Street
.
123 Any Street
.public SearchPlaceIndexForTextRequest withText(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
.public String toString()
toString
in class Object
Object.toString()
public SearchPlaceIndexForTextRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()