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