Interface MessageUsefulnessFeedback.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<MessageUsefulnessFeedback.Builder,,- MessageUsefulnessFeedback> - SdkBuilder<MessageUsefulnessFeedback.Builder,,- MessageUsefulnessFeedback> - SdkPojo
- Enclosing class:
- MessageUsefulnessFeedback
@Mutable
@NotThreadSafe
public static interface MessageUsefulnessFeedback.Builder
extends SdkPojo, CopyableBuilder<MessageUsefulnessFeedback.Builder,MessageUsefulnessFeedback> 
- 
Method SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
usefulnessThe 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:
 
- 
usefulnessThe 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:
 
- 
reasonThe 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:
 
- 
reasonThe 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:
 
- 
commentA 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.
 
- 
submittedAtThe 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.
 
 
-