@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GenerativeDataDetails extends Object implements Serializable, Cloneable, StructuredPojo
Details about generative data.
Constructor and Description |
---|
GenerativeDataDetails() |
Modifier and Type | Method and Description |
---|---|
GenerativeDataDetails |
clone() |
boolean |
equals(Object obj) |
String |
getCompletion()
The LLM response.
|
RankingData |
getRankingData()
Details about the generative content ranking data.
|
List<DataSummary> |
getReferences()
The references used to generative the LLM response.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCompletion(String completion)
The LLM response.
|
void |
setRankingData(RankingData rankingData)
Details about the generative content ranking data.
|
void |
setReferences(Collection<DataSummary> references)
The references used to generative the LLM response.
|
String |
toString()
Returns a string representation of this object.
|
GenerativeDataDetails |
withCompletion(String completion)
The LLM response.
|
GenerativeDataDetails |
withRankingData(RankingData rankingData)
Details about the generative content ranking data.
|
GenerativeDataDetails |
withReferences(Collection<DataSummary> references)
The references used to generative the LLM response.
|
GenerativeDataDetails |
withReferences(DataSummary... references)
The references used to generative the LLM response.
|
public void setCompletion(String completion)
The LLM response.
completion
- The LLM response.public String getCompletion()
The LLM response.
public GenerativeDataDetails withCompletion(String completion)
The LLM response.
completion
- The LLM response.public void setRankingData(RankingData rankingData)
Details about the generative content ranking data.
rankingData
- Details about the generative content ranking data.public RankingData getRankingData()
Details about the generative content ranking data.
public GenerativeDataDetails withRankingData(RankingData rankingData)
Details about the generative content ranking data.
rankingData
- Details about the generative content ranking data.public List<DataSummary> getReferences()
The references used to generative the LLM response.
public void setReferences(Collection<DataSummary> references)
The references used to generative the LLM response.
references
- The references used to generative the LLM response.public GenerativeDataDetails withReferences(DataSummary... references)
The references used to generative the LLM response.
NOTE: This method appends the values to the existing list (if any). Use
setReferences(java.util.Collection)
or withReferences(java.util.Collection)
if you want to
override the existing values.
references
- The references used to generative the LLM response.public GenerativeDataDetails withReferences(Collection<DataSummary> references)
The references used to generative the LLM response.
references
- The references used to generative the LLM response.public String toString()
toString
in class Object
Object.toString()
public GenerativeDataDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.