Class PutFeedbackRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.qbusiness.model.QBusinessRequest
-
- software.amazon.awssdk.services.qbusiness.model.PutFeedbackRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<PutFeedbackRequest.Builder,PutFeedbackRequest>
@Generated("software.amazon.awssdk:codegen") public final class PutFeedbackRequest extends QBusinessRequest implements ToCopyableBuilder<PutFeedbackRequest.Builder,PutFeedbackRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePutFeedbackRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringapplicationId()The identifier of the application associated with the feedback.static PutFeedbackRequest.Builderbuilder()StringconversationId()The identifier of the conversation the feedback is attached to.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantmessageCopiedAt()The timestamp for when the feedback was recorded.StringmessageId()The identifier of the chat message that the feedback was given for.MessageUsefulnessFeedbackmessageUsefulness()The feedback usefulness value given by the user to the chat message.List<SdkField<?>>sdkFields()static Class<? extends PutFeedbackRequest.Builder>serializableBuilderClass()PutFeedbackRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringuserId()The identifier of the user giving the feedback.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
applicationId
public final String applicationId()
The identifier of the application associated with the feedback.
- Returns:
- The identifier of the application associated with the feedback.
-
conversationId
public final String conversationId()
The identifier of the conversation the feedback is attached to.
- Returns:
- The identifier of the conversation the feedback is attached to.
-
messageCopiedAt
public final Instant messageCopiedAt()
The timestamp for when the feedback was recorded.
- Returns:
- The timestamp for when the feedback was recorded.
-
messageId
public final String messageId()
The identifier of the chat message that the feedback was given for.
- Returns:
- The identifier of the chat message that the feedback was given for.
-
messageUsefulness
public final MessageUsefulnessFeedback messageUsefulness()
The feedback usefulness value given by the user to the chat message.
- Returns:
- The feedback usefulness value given by the user to the chat message.
-
userId
public final String userId()
The identifier of the user giving the feedback.
- Returns:
- The identifier of the user giving the feedback.
-
toBuilder
public PutFeedbackRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PutFeedbackRequest.Builder,PutFeedbackRequest>- Specified by:
toBuilderin classQBusinessRequest
-
builder
public static PutFeedbackRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends PutFeedbackRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-