@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 |
getText()
The text of the place suggestion, typically formatted as an address string.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
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 |
withText(String text)
The text of the place suggestion, typically formatted as an address string.
|
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 © 2022. All rights reserved.