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