@Generated(value="software.amazon.awssdk:codegen") public final class RecommendationFeedbackSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RecommendationFeedbackSummary.Builder,RecommendationFeedbackSummary>
Information about recommendation feedback summaries.
| Modifier and Type | Class and Description |
|---|---|
static interface |
RecommendationFeedbackSummary.Builder |
| Modifier and Type | Method and Description |
|---|---|
static RecommendationFeedbackSummary.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasReactions()
Returns true if the Reactions property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
List<Reaction> |
reactions()
List for storing reactions.
|
List<String> |
reactionsAsStrings()
List for storing reactions.
|
String |
recommendationId()
The recommendation ID that can be used to track the provided recommendations.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends RecommendationFeedbackSummary.Builder> |
serializableBuilderClass() |
RecommendationFeedbackSummary.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
userId()
The ID of the user that gave the feedback.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String recommendationId()
The recommendation ID that can be used to track the provided recommendations. Later on it can be used to collect the feedback.
public List<Reaction> reactions()
List for storing reactions. Reactions are utf-8 text code for emojis.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasReactions() to see if a value was sent in this field.
public boolean hasReactions()
public List<String> reactionsAsStrings()
List for storing reactions. Reactions are utf-8 text code for emojis.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasReactions() to see if a value was sent in this field.
public String userId()
The ID of the user that gave the feedback.
The UserId is an IAM principal that can be specified as an AWS account ID or an Amazon Resource Name
(ARN). For more information, see Specifying a Principal in the AWS Identity and Access Management User Guide.
The UserId is an IAM principal that can be specified as an AWS account ID or an Amazon
Resource Name (ARN). For more information, see Specifying a Principal in the AWS Identity and Access Management User Guide.
public RecommendationFeedbackSummary.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<RecommendationFeedbackSummary.Builder,RecommendationFeedbackSummary>public static RecommendationFeedbackSummary.Builder builder()
public static Class<? extends RecommendationFeedbackSummary.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.