public class SearchPlaceIndexForTextResult
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
SearchPlaceIndexForTextResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<SearchForTextResult> |
getResults()
A list of Places closest to the specified position.
|
SearchPlaceIndexForTextSummary |
getSummary()
Contains a summary of the request.
|
int |
hashCode() |
void |
setResults(java.util.Collection<SearchForTextResult> results)
A list of Places closest to the specified position.
|
void |
setSummary(SearchPlaceIndexForTextSummary summary)
Contains a summary of the request.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SearchPlaceIndexForTextResult |
withResults(java.util.Collection<SearchForTextResult> results)
A list of Places closest to the specified position.
|
SearchPlaceIndexForTextResult |
withResults(SearchForTextResult... results)
A list of Places closest to the specified position.
|
SearchPlaceIndexForTextResult |
withSummary(SearchPlaceIndexForTextSummary summary)
Contains a summary of the request.
|
public java.util.List<SearchForTextResult> getResults()
A list of Places closest to the specified position. Each result contains additional information about the specific point of interest.
A list of Places closest to the specified position. Each result contains additional information about the specific point of interest.
public void setResults(java.util.Collection<SearchForTextResult> results)
A list of Places closest to the specified position. Each result contains additional information about the specific point of interest.
results
- A list of Places closest to the specified position. Each result contains additional information about the specific point of interest.
public SearchPlaceIndexForTextResult withResults(SearchForTextResult... results)
A list of Places closest to the specified position. Each result contains additional information about the specific point of interest.
Returns a reference to this object so that method calls can be chained together.
results
- A list of Places closest to the specified position. Each result contains additional information about the specific point of interest.
public SearchPlaceIndexForTextResult withResults(java.util.Collection<SearchForTextResult> results)
A list of Places closest to the specified position. Each result contains additional information about the specific point of interest.
Returns a reference to this object so that method calls can be chained together.
results
- A list of Places closest to the specified position. Each result contains additional information about the specific point of interest.
public SearchPlaceIndexForTextSummary getSummary()
Contains a summary of the request. Contains the BiasPosition
, DataSource
, FilterBBox
,
FilterCountries
, MaxResults
,
ResultBBox
, and Text
.
Contains a summary of the request. Contains the
BiasPosition
, DataSource
,
FilterBBox
, FilterCountries
,
MaxResults
, ResultBBox
, and
Text
.
public void setSummary(SearchPlaceIndexForTextSummary summary)
Contains a summary of the request. Contains the BiasPosition
, DataSource
, FilterBBox
,
FilterCountries
, MaxResults
,
ResultBBox
, and Text
.
summary
-
Contains a summary of the request. Contains the
BiasPosition
, DataSource
,
FilterBBox
, FilterCountries
,
MaxResults
, ResultBBox
, and
Text
.
public SearchPlaceIndexForTextResult withSummary(SearchPlaceIndexForTextSummary summary)
Contains a summary of the request. Contains the BiasPosition
, DataSource
, FilterBBox
,
FilterCountries
, MaxResults
,
ResultBBox
, and Text
.
Returns a reference to this object so that method calls can be chained together.
summary
-
Contains a summary of the request. Contains the
BiasPosition
, DataSource
,
FilterBBox
, FilterCountries
,
MaxResults
, ResultBBox
, and
Text
.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.