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