@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class QueryRecommendationTriggerData extends Object implements Serializable, Cloneable, StructuredPojo
Data associated with the QUERY RecommendationTriggerType.
Constructor and Description |
---|
QueryRecommendationTriggerData() |
Modifier and Type | Method and Description |
---|---|
QueryRecommendationTriggerData |
clone() |
boolean |
equals(Object obj) |
String |
getText()
The text associated with the recommendation trigger.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setText(String text)
The text associated with the recommendation trigger.
|
String |
toString()
Returns a string representation of this object.
|
QueryRecommendationTriggerData |
withText(String text)
The text associated with the recommendation trigger.
|
public void setText(String text)
The text associated with the recommendation trigger.
text
- The text associated with the recommendation trigger.public String getText()
The text associated with the recommendation trigger.
public QueryRecommendationTriggerData withText(String text)
The text associated with the recommendation trigger.
text
- The text associated with the recommendation trigger.public String toString()
toString
in class Object
Object.toString()
public QueryRecommendationTriggerData clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.