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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MessageUsefulnessFeedback.Buildercomment(String comment)A comment given by an end user on the usefulness of an AI-generated chat message.MessageUsefulnessFeedback.Builderreason(String reason)The reason for a usefulness rating.MessageUsefulnessFeedback.Builderreason(MessageUsefulnessReason reason)The reason for a usefulness rating.MessageUsefulnessFeedback.BuildersubmittedAt(Instant submittedAt)The timestamp for when the feedback was submitted.MessageUsefulnessFeedback.Builderusefulness(String usefulness)The usefulness value assigned by an end user to a message.MessageUsefulnessFeedback.Builderusefulness(MessageUsefulness usefulness)The usefulness value assigned by an end user to a message.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
comment
MessageUsefulnessFeedback.Builder comment(String 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.
-
reason
MessageUsefulnessFeedback.Builder reason(String 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:
MessageUsefulnessReason,MessageUsefulnessReason
-
reason
MessageUsefulnessFeedback.Builder reason(MessageUsefulnessReason 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:
MessageUsefulnessReason,MessageUsefulnessReason
-
submittedAt
MessageUsefulnessFeedback.Builder submittedAt(Instant 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.
-
usefulness
MessageUsefulnessFeedback.Builder usefulness(String 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:
MessageUsefulness,MessageUsefulness
-
usefulness
MessageUsefulnessFeedback.Builder usefulness(MessageUsefulness 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:
MessageUsefulness,MessageUsefulness
-
-