@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)
Marshalls this structured data using the given
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 Object
Object.toString()
public SearchForSuggestionsResult clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.