@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MessageUsefulnessFeedback extends Object implements Serializable, Cloneable, StructuredPojo
End user feedback on an AI-generated web experience chat message usefulness.
Constructor and Description |
---|
MessageUsefulnessFeedback() |
Modifier and Type | Method and Description |
---|---|
MessageUsefulnessFeedback |
clone() |
boolean |
equals(Object obj) |
String |
getComment()
A comment given by an end user on the usefulness of an AI-generated chat message.
|
String |
getReason()
The reason for a usefulness rating.
|
Date |
getSubmittedAt()
The timestamp for when the feedback was submitted.
|
String |
getUsefulness()
The usefulness value assigned by an end user to a message.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setComment(String comment)
A comment given by an end user on the usefulness of an AI-generated chat message.
|
void |
setReason(String reason)
The reason for a usefulness rating.
|
void |
setSubmittedAt(Date submittedAt)
The timestamp for when the feedback was submitted.
|
void |
setUsefulness(String usefulness)
The usefulness value assigned by an end user to a message.
|
String |
toString()
Returns a string representation of this object.
|
MessageUsefulnessFeedback |
withComment(String comment)
A comment given by an end user on the usefulness of an AI-generated chat message.
|
MessageUsefulnessFeedback |
withReason(MessageUsefulnessReason reason)
The reason for a usefulness rating.
|
MessageUsefulnessFeedback |
withReason(String reason)
The reason for a usefulness rating.
|
MessageUsefulnessFeedback |
withSubmittedAt(Date submittedAt)
The timestamp for when the feedback was submitted.
|
MessageUsefulnessFeedback |
withUsefulness(MessageUsefulness usefulness)
The usefulness value assigned by an end user to a message.
|
MessageUsefulnessFeedback |
withUsefulness(String usefulness)
The usefulness value assigned by an end user to a message.
|
public void setUsefulness(String usefulness)
The usefulness value assigned by an end user to a message.
usefulness
- The usefulness value assigned by an end user to a message.MessageUsefulness
public String getUsefulness()
The usefulness value assigned by an end user to a message.
MessageUsefulness
public MessageUsefulnessFeedback withUsefulness(String usefulness)
The usefulness value assigned by an end user to a message.
usefulness
- The usefulness value assigned by an end user to a message.MessageUsefulness
public MessageUsefulnessFeedback withUsefulness(MessageUsefulness usefulness)
The usefulness value assigned by an end user to a message.
usefulness
- The usefulness value assigned by an end user to a message.MessageUsefulness
public void setReason(String reason)
The reason for a usefulness rating.
reason
- The reason for a usefulness rating.MessageUsefulnessReason
public String getReason()
The reason for a usefulness rating.
MessageUsefulnessReason
public MessageUsefulnessFeedback withReason(String reason)
The reason for a usefulness rating.
reason
- The reason for a usefulness rating.MessageUsefulnessReason
public MessageUsefulnessFeedback withReason(MessageUsefulnessReason reason)
The reason for a usefulness rating.
reason
- The reason for a usefulness rating.MessageUsefulnessReason
public void setComment(String comment)
A comment given by an end user on the usefulness of an AI-generated chat message.
comment
- A comment given by an end user on the usefulness of an AI-generated chat message.public String getComment()
A comment given by an end user on the usefulness of an AI-generated chat message.
public MessageUsefulnessFeedback withComment(String comment)
A comment given by an end user on the usefulness of an AI-generated chat message.
comment
- A comment given by an end user on the usefulness of an AI-generated chat message.public void setSubmittedAt(Date submittedAt)
The timestamp for when the feedback was submitted.
submittedAt
- The timestamp for when the feedback was submitted.public Date getSubmittedAt()
The timestamp for when the feedback was submitted.
public MessageUsefulnessFeedback withSubmittedAt(Date submittedAt)
The timestamp for when the feedback was submitted.
submittedAt
- The timestamp for when the feedback was submitted.public String toString()
toString
in class Object
Object.toString()
public MessageUsefulnessFeedback clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.