@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SuggestionValue extends Object implements Serializable, Cloneable, StructuredPojo
The SuggestionTextWithHighlights structure information.
| Constructor and Description |
|---|
SuggestionValue() |
| Modifier and Type | Method and Description |
|---|---|
SuggestionValue |
clone() |
boolean |
equals(Object obj) |
SuggestionTextWithHighlights |
getText()
The
SuggestionTextWithHighlights structure that contains the query suggestion text and highlights. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setText(SuggestionTextWithHighlights text)
The
SuggestionTextWithHighlights structure that contains the query suggestion text and highlights. |
String |
toString()
Returns a string representation of this object.
|
SuggestionValue |
withText(SuggestionTextWithHighlights text)
The
SuggestionTextWithHighlights structure that contains the query suggestion text and highlights. |
public void setText(SuggestionTextWithHighlights text)
The SuggestionTextWithHighlights structure that contains the query suggestion text and highlights.
text - The SuggestionTextWithHighlights structure that contains the query suggestion text and
highlights.public SuggestionTextWithHighlights getText()
The SuggestionTextWithHighlights structure that contains the query suggestion text and highlights.
SuggestionTextWithHighlights structure that contains the query suggestion text and
highlights.public SuggestionValue withText(SuggestionTextWithHighlights text)
The SuggestionTextWithHighlights structure that contains the query suggestion text and highlights.
text - The SuggestionTextWithHighlights structure that contains the query suggestion text and
highlights.public String toString()
toString in class ObjectObject.toString()public SuggestionValue clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.