Interface MessageUsefulnessFeedback.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MessageUsefulnessFeedback.Builder,,MessageUsefulnessFeedback> SdkBuilder<MessageUsefulnessFeedback.Builder,,MessageUsefulnessFeedback> SdkPojo
- Enclosing class:
MessageUsefulnessFeedback
public static interface MessageUsefulnessFeedback.Builder
extends SdkPojo, CopyableBuilder<MessageUsefulnessFeedback.Builder,MessageUsefulnessFeedback>
-
Method Summary
Modifier and TypeMethodDescriptionA comment given by an end user on the usefulness of an AI-generated chat message.The reason for a usefulness rating.reason(MessageUsefulnessReason reason) The reason for a usefulness rating.submittedAt(Instant submittedAt) The timestamp for when the feedback was submitted.usefulness(String usefulness) The usefulness value assigned by an end user to a message.usefulness(MessageUsefulness usefulness) The usefulness value assigned by an end user to a message.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
usefulness
The usefulness value assigned by an end user to a message.
- Parameters:
usefulness- The usefulness value assigned by an end user to a message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
usefulness
The usefulness value assigned by an end user to a message.
- Parameters:
usefulness- The usefulness value assigned by an end user to a message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
reason
The reason for a usefulness rating.
- Parameters:
reason- The reason for a usefulness rating.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
reason
The reason for a usefulness rating.
- Parameters:
reason- The reason for a usefulness rating.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
comment
A comment given by an end user on the usefulness of an AI-generated chat message.
- Parameters:
comment- A comment given by an end user on the usefulness of an AI-generated chat message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
submittedAt
The timestamp for when the feedback was submitted.
- Parameters:
submittedAt- The timestamp for when the feedback was submitted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-