@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GenerativeContentFeedbackData extends Object implements Serializable, Cloneable, StructuredPojo
The feedback information for a generative target type.
| Constructor and Description |
|---|
GenerativeContentFeedbackData() |
| Modifier and Type | Method and Description |
|---|---|
GenerativeContentFeedbackData |
clone() |
boolean |
equals(Object obj) |
String |
getRelevance()
The relevance of the feedback.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setRelevance(String relevance)
The relevance of the feedback.
|
String |
toString()
Returns a string representation of this object.
|
GenerativeContentFeedbackData |
withRelevance(Relevance relevance)
The relevance of the feedback.
|
GenerativeContentFeedbackData |
withRelevance(String relevance)
The relevance of the feedback.
|
public void setRelevance(String relevance)
The relevance of the feedback.
relevance - The relevance of the feedback.Relevancepublic String getRelevance()
The relevance of the feedback.
Relevancepublic GenerativeContentFeedbackData withRelevance(String relevance)
The relevance of the feedback.
relevance - The relevance of the feedback.Relevancepublic GenerativeContentFeedbackData withRelevance(Relevance relevance)
The relevance of the feedback.
relevance - The relevance of the feedback.Relevancepublic String toString()
toString in class ObjectObject.toString()public GenerativeContentFeedbackData clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.