@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.Relevance
public String getRelevance()
The relevance of the feedback.
Relevance
public GenerativeContentFeedbackData withRelevance(String relevance)
The relevance of the feedback.
relevance
- The relevance of the feedback.Relevance
public GenerativeContentFeedbackData withRelevance(Relevance relevance)
The relevance of the feedback.
relevance
- The relevance of the feedback.Relevance
public String toString()
toString
in class Object
Object.toString()
public GenerativeContentFeedbackData clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.