Interface PutFeedbackRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<PutFeedbackRequest.Builder,PutFeedbackRequest>,QBusinessRequest.Builder,SdkBuilder<PutFeedbackRequest.Builder,PutFeedbackRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- PutFeedbackRequest
public static interface PutFeedbackRequest.Builder extends QBusinessRequest.Builder, SdkPojo, CopyableBuilder<PutFeedbackRequest.Builder,PutFeedbackRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description PutFeedbackRequest.BuilderapplicationId(String applicationId)The identifier of the application associated with the feedback.PutFeedbackRequest.BuilderconversationId(String conversationId)The identifier of the conversation the feedback is attached to.PutFeedbackRequest.BuildermessageCopiedAt(Instant messageCopiedAt)The timestamp for when the feedback was recorded.PutFeedbackRequest.BuildermessageId(String messageId)The identifier of the chat message that the feedback was given for.default PutFeedbackRequest.BuildermessageUsefulness(Consumer<MessageUsefulnessFeedback.Builder> messageUsefulness)The feedback usefulness value given by the user to the chat message.PutFeedbackRequest.BuildermessageUsefulness(MessageUsefulnessFeedback messageUsefulness)The feedback usefulness value given by the user to the chat message.PutFeedbackRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)PutFeedbackRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)PutFeedbackRequest.BuilderuserId(String userId)The identifier of the user giving the feedback.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.qbusiness.model.QBusinessRequest.Builder
build
-
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
-
applicationId
PutFeedbackRequest.Builder applicationId(String applicationId)
The identifier of the application associated with the feedback.
- Parameters:
applicationId- The identifier of the application associated with the feedback.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conversationId
PutFeedbackRequest.Builder conversationId(String conversationId)
The identifier of the conversation the feedback is attached to.
- Parameters:
conversationId- The identifier of the conversation the feedback is attached to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
messageCopiedAt
PutFeedbackRequest.Builder messageCopiedAt(Instant messageCopiedAt)
The timestamp for when the feedback was recorded.
- Parameters:
messageCopiedAt- The timestamp for when the feedback was recorded.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
messageId
PutFeedbackRequest.Builder messageId(String messageId)
The identifier of the chat message that the feedback was given for.
- Parameters:
messageId- The identifier of the chat message that the feedback was given for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
messageUsefulness
PutFeedbackRequest.Builder messageUsefulness(MessageUsefulnessFeedback messageUsefulness)
The feedback usefulness value given by the user to the chat message.
- Parameters:
messageUsefulness- The feedback usefulness value given by the user to the chat message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
messageUsefulness
default PutFeedbackRequest.Builder messageUsefulness(Consumer<MessageUsefulnessFeedback.Builder> messageUsefulness)
The feedback usefulness value given by the user to the chat message.
This is a convenience method that creates an instance of theMessageUsefulnessFeedback.Builderavoiding the need to create one manually viaMessageUsefulnessFeedback.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomessageUsefulness(MessageUsefulnessFeedback).- Parameters:
messageUsefulness- a consumer that will call methods onMessageUsefulnessFeedback.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
messageUsefulness(MessageUsefulnessFeedback)
-
userId
PutFeedbackRequest.Builder userId(String userId)
The identifier of the user giving the feedback.
- Parameters:
userId- The identifier of the user giving the feedback.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
PutFeedbackRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
PutFeedbackRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-