@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RecommendationFeedbackSummary extends Object implements Serializable, Cloneable, StructuredPojo
Information about recommendation feedback summaries.
Constructor and Description |
---|
RecommendationFeedbackSummary() |
Modifier and Type | Method and Description |
---|---|
RecommendationFeedbackSummary |
clone() |
boolean |
equals(Object obj) |
List<String> |
getReactions()
List for storing reactions.
|
String |
getRecommendationId()
The recommendation ID that can be used to track the provided recommendations.
|
String |
getUserId()
The identifier for the user that gave the feedback.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setReactions(Collection<String> reactions)
List for storing reactions.
|
void |
setRecommendationId(String recommendationId)
The recommendation ID that can be used to track the provided recommendations.
|
void |
setUserId(String userId)
The identifier for the user that gave the feedback.
|
String |
toString()
Returns a string representation of this object.
|
RecommendationFeedbackSummary |
withReactions(Collection<String> reactions)
List for storing reactions.
|
RecommendationFeedbackSummary |
withReactions(Reaction... reactions)
List for storing reactions.
|
RecommendationFeedbackSummary |
withReactions(String... reactions)
List for storing reactions.
|
RecommendationFeedbackSummary |
withRecommendationId(String recommendationId)
The recommendation ID that can be used to track the provided recommendations.
|
RecommendationFeedbackSummary |
withUserId(String userId)
The identifier for the user that gave the feedback.
|
public void setRecommendationId(String recommendationId)
The recommendation ID that can be used to track the provided recommendations. Later on it can be used to collect the feedback.
recommendationId
- The recommendation ID that can be used to track the provided recommendations. Later on it can be used to
collect the feedback.public String getRecommendationId()
The recommendation ID that can be used to track the provided recommendations. Later on it can be used to collect the feedback.
public RecommendationFeedbackSummary withRecommendationId(String recommendationId)
The recommendation ID that can be used to track the provided recommendations. Later on it can be used to collect the feedback.
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<String> getReactions()
List for storing reactions. Reactions are utf-8 text code for emojis.
Reaction
public void setReactions(Collection<String> reactions)
List for storing reactions. Reactions are utf-8 text code for emojis.
reactions
- List for storing reactions. Reactions are utf-8 text code for emojis.Reaction
public RecommendationFeedbackSummary withReactions(String... reactions)
List for storing reactions. Reactions are utf-8 text code for emojis.
NOTE: This method appends the values to the existing list (if any). Use
setReactions(java.util.Collection)
or withReactions(java.util.Collection)
if you want to
override the existing values.
reactions
- List for storing reactions. Reactions are utf-8 text code for emojis.Reaction
public RecommendationFeedbackSummary withReactions(Collection<String> reactions)
List for storing reactions. Reactions are utf-8 text code for emojis.
reactions
- List for storing reactions. Reactions are utf-8 text code for emojis.Reaction
public RecommendationFeedbackSummary withReactions(Reaction... reactions)
List for storing reactions. Reactions are utf-8 text code for emojis.
reactions
- List for storing reactions. Reactions are utf-8 text code for emojis.Reaction
public void setUserId(String userId)
The identifier for the user that gave the feedback.
userId
- The identifier for the user that gave the feedback.public String getUserId()
The identifier for the user that gave the feedback.
public RecommendationFeedbackSummary withUserId(String userId)
The identifier for the user that gave the feedback.
userId
- The identifier for the user that gave the feedback.public String toString()
toString
in class Object
Object.toString()
public RecommendationFeedbackSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.