@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class KnowledgeBaseQuery extends Object implements Serializable, Cloneable, StructuredPojo
Contains the query made to the knowledge base.
This data type is used in the following API operations:
Retrieve request – in the retrievalQuery
field
Constructor and Description |
---|
KnowledgeBaseQuery() |
Modifier and Type | Method and Description |
---|---|
KnowledgeBaseQuery |
clone() |
boolean |
equals(Object obj) |
String |
getText()
The text of the query made to the knowledge base.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setText(String text)
The text of the query made to the knowledge base.
|
String |
toString()
Returns a string representation of this object.
|
KnowledgeBaseQuery |
withText(String text)
The text of the query made to the knowledge base.
|
public void setText(String text)
The text of the query made to the knowledge base.
text
- The text of the query made to the knowledge base.public String getText()
The text of the query made to the knowledge base.
public KnowledgeBaseQuery withText(String text)
The text of the query made to the knowledge base.
text
- The text of the query made to the knowledge base.public String toString()
toString
in class Object
Object.toString()
public KnowledgeBaseQuery clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.