@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SearchForSuggestionsResult extends Object implements Serializable, Cloneable, StructuredPojo
Contains a place suggestion resulting from a place suggestion query that is run on a place index resource.
| Constructor and Description |
|---|
SearchForSuggestionsResult() |
| Modifier and Type | Method and Description |
|---|---|
SearchForSuggestionsResult |
clone() |
boolean |
equals(Object obj) |
String |
getPlaceId()
The unique identifier of the place.
|
String |
getText()
The text of the place suggestion, typically formatted as an address string.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setPlaceId(String placeId)
The unique identifier of the place.
|
void |
setText(String text)
The text of the place suggestion, typically formatted as an address string.
|
String |
toString()
Returns a string representation of this object.
|
SearchForSuggestionsResult |
withPlaceId(String placeId)
The unique identifier of the place.
|
SearchForSuggestionsResult |
withText(String text)
The text of the place suggestion, typically formatted as an address string.
|
public void setPlaceId(String placeId)
The unique identifier of the place. You can use this with the GetPlace operation to find the place
again later.
For SearchPlaceIndexForSuggestions operations, the PlaceId is returned by place indexes
that use Esri, Grab, or HERE as data providers.
placeId - The unique identifier of the place. You can use this with the GetPlace operation to find the
place again later.
For SearchPlaceIndexForSuggestions operations, the PlaceId is returned by place
indexes that use Esri, Grab, or HERE as data providers.
public String getPlaceId()
The unique identifier of the place. You can use this with the GetPlace operation to find the place
again later.
For SearchPlaceIndexForSuggestions operations, the PlaceId is returned by place indexes
that use Esri, Grab, or HERE as data providers.
GetPlace operation to find the
place again later.
For SearchPlaceIndexForSuggestions operations, the PlaceId is returned by place
indexes that use Esri, Grab, or HERE as data providers.
public SearchForSuggestionsResult withPlaceId(String placeId)
The unique identifier of the place. You can use this with the GetPlace operation to find the place
again later.
For SearchPlaceIndexForSuggestions operations, the PlaceId is returned by place indexes
that use Esri, Grab, or HERE as data providers.
placeId - The unique identifier of the place. You can use this with the GetPlace operation to find the
place again later.
For SearchPlaceIndexForSuggestions operations, the PlaceId is returned by place
indexes that use Esri, Grab, or HERE as data providers.
public void setText(String text)
The text of the place suggestion, typically formatted as an address string.
text - The text of the place suggestion, typically formatted as an address string.public String getText()
The text of the place suggestion, typically formatted as an address string.
public SearchForSuggestionsResult withText(String text)
The text of the place suggestion, typically formatted as an address string.
text - The text of the place suggestion, typically formatted as an address string.public String toString()
toString in class ObjectObject.toString()public SearchForSuggestionsResult clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2023. All rights reserved.