@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SearchPlaceIndexForPositionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
SearchPlaceIndexForPositionResult() |
| Modifier and Type | Method and Description |
|---|---|
SearchPlaceIndexForPositionResult |
clone() |
boolean |
equals(Object obj) |
List<SearchForPositionResult> |
getResults()
Returns a list of Places closest to the specified position.
|
SearchPlaceIndexForPositionSummary |
getSummary()
Contains a summary of the request.
|
int |
hashCode() |
void |
setResults(Collection<SearchForPositionResult> results)
Returns a list of Places closest to the specified position.
|
void |
setSummary(SearchPlaceIndexForPositionSummary summary)
Contains a summary of the request.
|
String |
toString()
Returns a string representation of this object.
|
SearchPlaceIndexForPositionResult |
withResults(Collection<SearchForPositionResult> results)
Returns a list of Places closest to the specified position.
|
SearchPlaceIndexForPositionResult |
withResults(SearchForPositionResult... results)
Returns a list of Places closest to the specified position.
|
SearchPlaceIndexForPositionResult |
withSummary(SearchPlaceIndexForPositionSummary summary)
Contains a summary of the request.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setSummary(SearchPlaceIndexForPositionSummary summary)
Contains a summary of the request. Echoes the input values for Position, Language,
MaxResults, and the DataSource of the place index.
summary - Contains a summary of the request. Echoes the input values for Position,
Language, MaxResults, and the DataSource of the place index.public SearchPlaceIndexForPositionSummary getSummary()
Contains a summary of the request. Echoes the input values for Position, Language,
MaxResults, and the DataSource of the place index.
Position,
Language, MaxResults, and the DataSource of the place index.public SearchPlaceIndexForPositionResult withSummary(SearchPlaceIndexForPositionSummary summary)
Contains a summary of the request. Echoes the input values for Position, Language,
MaxResults, and the DataSource of the place index.
summary - Contains a summary of the request. Echoes the input values for Position,
Language, MaxResults, and the DataSource of the place index.public List<SearchForPositionResult> getResults()
Returns a list of Places closest to the specified position. Each result contains additional information about the Places returned.
public void setResults(Collection<SearchForPositionResult> results)
Returns a list of Places closest to the specified position. Each result contains additional information about the Places returned.
results - Returns a list of Places closest to the specified position. Each result contains additional information
about the Places returned.public SearchPlaceIndexForPositionResult withResults(SearchForPositionResult... results)
Returns a list of Places closest to the specified position. Each result contains additional information about the Places returned.
NOTE: This method appends the values to the existing list (if any). Use
setResults(java.util.Collection) or withResults(java.util.Collection) if you want to override
the existing values.
results - Returns a list of Places closest to the specified position. Each result contains additional information
about the Places returned.public SearchPlaceIndexForPositionResult withResults(Collection<SearchForPositionResult> results)
Returns a list of Places closest to the specified position. Each result contains additional information about the Places returned.
results - Returns a list of Places closest to the specified position. Each result contains additional information
about the Places returned.public String toString()
toString in class ObjectObject.toString()public SearchPlaceIndexForPositionResult clone()