@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SearchPlaceIndexForTextResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
SearchPlaceIndexForTextResult() |
Modifier and Type | Method and Description |
---|---|
SearchPlaceIndexForTextResult |
clone() |
boolean |
equals(Object obj) |
List<SearchForTextResult> |
getResults()
A list of Places closest to the specified position.
|
SearchPlaceIndexForTextSummary |
getSummary()
Contains a summary of the request.
|
int |
hashCode() |
void |
setResults(Collection<SearchForTextResult> results)
A list of Places closest to the specified position.
|
void |
setSummary(SearchPlaceIndexForTextSummary summary)
Contains a summary of the request.
|
String |
toString()
Returns a string representation of this object.
|
SearchPlaceIndexForTextResult |
withResults(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.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<SearchForTextResult> getResults()
A list of Places closest to the specified position. Each result contains additional information about the specific point of interest.
public void setResults(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.
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
- A list of Places closest to the specified position. Each result contains additional information about the
specific point of interest.public SearchPlaceIndexForTextResult withResults(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 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 SearchPlaceIndexForTextSummary getSummary()
Contains a summary of the request. Contains the BiasPosition
, DataSource
,
FilterBBox
, FilterCountries
, MaxResults
, ResultBBox
, and
Text
.
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
.
summary
- Contains a summary of the request. Contains the BiasPosition
, DataSource
,
FilterBBox
, FilterCountries
, MaxResults
, ResultBBox
,
and Text
.public String toString()
toString
in class Object
Object.toString()
public SearchPlaceIndexForTextResult clone()