@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GeneratedResponsePart extends Object implements Serializable, Cloneable, StructuredPojo
Contains metadata about a part of the generated response that is accompanied by a citation.
This data type is used in the following API operations:
InvokeAgent response – in the generatedResponsePart
field
RetrieveAndGenerate response – in the generatedResponsePart
field
Constructor and Description |
---|
GeneratedResponsePart() |
Modifier and Type | Method and Description |
---|---|
GeneratedResponsePart |
clone() |
boolean |
equals(Object obj) |
TextResponsePart |
getTextResponsePart()
Contains metadata about a textual part of the generated response that is accompanied by a citation.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setTextResponsePart(TextResponsePart textResponsePart)
Contains metadata about a textual part of the generated response that is accompanied by a citation.
|
String |
toString()
Returns a string representation of this object.
|
GeneratedResponsePart |
withTextResponsePart(TextResponsePart textResponsePart)
Contains metadata about a textual part of the generated response that is accompanied by a citation.
|
public void setTextResponsePart(TextResponsePart textResponsePart)
Contains metadata about a textual part of the generated response that is accompanied by a citation.
textResponsePart
- Contains metadata about a textual part of the generated response that is accompanied by a citation.public TextResponsePart getTextResponsePart()
Contains metadata about a textual part of the generated response that is accompanied by a citation.
public GeneratedResponsePart withTextResponsePart(TextResponsePart textResponsePart)
Contains metadata about a textual part of the generated response that is accompanied by a citation.
textResponsePart
- Contains metadata about a textual part of the generated response that is accompanied by a citation.public String toString()
toString
in class Object
Object.toString()
public GeneratedResponsePart clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.