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