@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RetrievalResultContent extends Object implements Serializable, Cloneable, StructuredPojo
Content of a retrieval result.
Constructor and Description |
---|
RetrievalResultContent() |
Modifier and Type | Method and Description |
---|---|
RetrievalResultContent |
clone() |
boolean |
equals(Object obj) |
String |
getText()
Content of a retrieval result in text
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setText(String text)
Content of a retrieval result in text
|
String |
toString()
Returns a string representation of this object.
|
RetrievalResultContent |
withText(String text)
Content of a retrieval result in text
|
public void setText(String text)
Content of a retrieval result in text
text
- Content of a retrieval result in textpublic String getText()
Content of a retrieval result in text
public RetrievalResultContent withText(String text)
Content of a retrieval result in text
text
- Content of a retrieval result in textpublic 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.