public class SearchPlaceIndexForPositionSummary
extends java.lang.Object
implements java.io.Serializable
A summary of the reverse geocoding request sent using
SearchPlaceIndexForPosition.
| Constructor and Description |
|---|
SearchPlaceIndexForPositionSummary() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDataSource()
The data provider of geospatial data for the Place index resource.
|
java.lang.Integer |
getMaxResults()
An optional parameter.
|
java.util.List<java.lang.Double> |
getPosition()
The position given in the reverse geocoding request.
|
int |
hashCode() |
void |
setDataSource(java.lang.String dataSource)
The data provider of geospatial data for the Place index resource.
|
void |
setMaxResults(java.lang.Integer maxResults)
An optional parameter.
|
void |
setPosition(java.util.Collection<java.lang.Double> position)
The position given in the reverse geocoding request.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SearchPlaceIndexForPositionSummary |
withDataSource(java.lang.String dataSource)
The data provider of geospatial data for the Place index resource.
|
SearchPlaceIndexForPositionSummary |
withMaxResults(java.lang.Integer maxResults)
An optional parameter.
|
SearchPlaceIndexForPositionSummary |
withPosition(java.util.Collection<java.lang.Double> position)
The position given in the reverse geocoding request.
|
SearchPlaceIndexForPositionSummary |
withPosition(java.lang.Double... position)
The position given in the reverse geocoding request.
|
public java.lang.String getDataSource()
The data provider of geospatial data for the Place index resource.
The data provider of geospatial data for the Place index resource.
public void setDataSource(java.lang.String dataSource)
The data provider of geospatial data for the Place index resource.
dataSource - The data provider of geospatial data for the Place index resource.
public SearchPlaceIndexForPositionSummary withDataSource(java.lang.String dataSource)
The data provider of geospatial data for the Place index resource.
Returns a reference to this object so that method calls can be chained together.
dataSource - The data provider of geospatial data for the Place index resource.
public java.lang.Integer getMaxResults()
An optional parameter. The maximum number of results returned per request.
Default value: 50
Constraints:
Range: 1 - 50
An optional parameter. The maximum number of results returned per request.
Default value: 50
public void setMaxResults(java.lang.Integer maxResults)
An optional parameter. The maximum number of results returned per request.
Default value: 50
Constraints:
Range: 1 - 50
maxResults - An optional parameter. The maximum number of results returned per request.
Default value: 50
public SearchPlaceIndexForPositionSummary withMaxResults(java.lang.Integer maxResults)
An optional parameter. The maximum number of results returned per request.
Default value: 50
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 50
maxResults - An optional parameter. The maximum number of results returned per request.
Default value: 50
public java.util.List<java.lang.Double> getPosition()
The position given in the reverse geocoding request.
The position given in the reverse geocoding request.
public void setPosition(java.util.Collection<java.lang.Double> position)
The position given in the reverse geocoding request.
position - The position given in the reverse geocoding request.
public SearchPlaceIndexForPositionSummary withPosition(java.lang.Double... position)
The position given in the reverse geocoding request.
Returns a reference to this object so that method calls can be chained together.
position - The position given in the reverse geocoding request.
public SearchPlaceIndexForPositionSummary withPosition(java.util.Collection<java.lang.Double> position)
The position given in the reverse geocoding request.
Returns a reference to this object so that method calls can be chained together.
position - The position given in the reverse geocoding request.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.