@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SearchPlaceIndexForPositionSummary extends Object implements Serializable, Cloneable, StructuredPojo
A summary of the reverse geocoding request sent using SearchPlaceIndexForPosition
.
Constructor and Description |
---|
SearchPlaceIndexForPositionSummary() |
Modifier and Type | Method and Description |
---|---|
SearchPlaceIndexForPositionSummary |
clone() |
boolean |
equals(Object obj) |
String |
getDataSource()
The data provider of geospatial data.
|
Integer |
getMaxResults()
An optional parameter.
|
List<Double> |
getPosition()
The position given in the reverse geocoding request.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDataSource(String dataSource)
The data provider of geospatial data.
|
void |
setMaxResults(Integer maxResults)
An optional parameter.
|
void |
setPosition(Collection<Double> position)
The position given in the reverse geocoding request.
|
String |
toString()
Returns a string representation of this object.
|
SearchPlaceIndexForPositionSummary |
withDataSource(String dataSource)
The data provider of geospatial data.
|
SearchPlaceIndexForPositionSummary |
withMaxResults(Integer maxResults)
An optional parameter.
|
SearchPlaceIndexForPositionSummary |
withPosition(Collection<Double> position)
The position given in the reverse geocoding request.
|
SearchPlaceIndexForPositionSummary |
withPosition(Double... position)
The position given in the reverse geocoding request.
|
public void setDataSource(String dataSource)
The data provider of geospatial data. Indicates one of the available providers:
Esri
HERE
For additional details on data providers, see the Amazon Location Service data providers page.
dataSource
- The data provider of geospatial data. Indicates one of the available providers:
Esri
HERE
For additional details on data providers, see the Amazon Location Service data providers page.
public String getDataSource()
The data provider of geospatial data. Indicates one of the available providers:
Esri
HERE
For additional details on data providers, see the Amazon Location Service data providers page.
Esri
HERE
For additional details on data providers, see the Amazon Location Service data providers page.
public SearchPlaceIndexForPositionSummary withDataSource(String dataSource)
The data provider of geospatial data. Indicates one of the available providers:
Esri
HERE
For additional details on data providers, see the Amazon Location Service data providers page.
dataSource
- The data provider of geospatial data. Indicates one of the available providers:
Esri
HERE
For additional details on data providers, see the Amazon Location Service data providers page.
public void setMaxResults(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
public Integer getMaxResults()
An optional parameter. The maximum number of results returned per request.
Default value: 50
Default value: 50
public SearchPlaceIndexForPositionSummary withMaxResults(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
public List<Double> getPosition()
The position given in the reverse geocoding request.
public void setPosition(Collection<Double> position)
The position given in the reverse geocoding request.
position
- The position given in the reverse geocoding request.public SearchPlaceIndexForPositionSummary withPosition(Double... position)
The position given in the reverse geocoding request.
NOTE: This method appends the values to the existing list (if any). Use
setPosition(java.util.Collection)
or withPosition(java.util.Collection)
if you want to override
the existing values.
position
- The position given in the reverse geocoding request.public SearchPlaceIndexForPositionSummary withPosition(Collection<Double> position)
The position given in the reverse geocoding request.
position
- The position given in the reverse geocoding request.public String toString()
toString
in class Object
Object.toString()
public SearchPlaceIndexForPositionSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.