@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RecommendationFeedback extends Object implements Serializable, Cloneable, StructuredPojo
Information about the recommendation feedback.
Constructor and Description |
---|
RecommendationFeedback() |
Modifier and Type | Method and Description |
---|---|
RecommendationFeedback |
clone() |
boolean |
equals(Object obj) |
String |
getCodeReviewArn()
The Amazon Resource Name (ARN) of the CodeReview object.
|
Date |
getCreatedTimeStamp()
The time at which the feedback was created.
|
Date |
getLastUpdatedTimeStamp()
The time at which the feedback was last updated.
|
List<String> |
getReactions()
List for storing reactions.
|
String |
getRecommendationId()
The recommendation ID that can be used to track the provided recommendations.
|
String |
getUserId()
The ID of the user that made the API call.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCodeReviewArn(String codeReviewArn)
The Amazon Resource Name (ARN) of the CodeReview object.
|
void |
setCreatedTimeStamp(Date createdTimeStamp)
The time at which the feedback was created.
|
void |
setLastUpdatedTimeStamp(Date lastUpdatedTimeStamp)
The time at which the feedback was last updated.
|
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 ID of the user that made the API call.
|
String |
toString()
Returns a string representation of this object.
|
RecommendationFeedback |
withCodeReviewArn(String codeReviewArn)
The Amazon Resource Name (ARN) of the CodeReview object.
|
RecommendationFeedback |
withCreatedTimeStamp(Date createdTimeStamp)
The time at which the feedback was created.
|
RecommendationFeedback |
withLastUpdatedTimeStamp(Date lastUpdatedTimeStamp)
The time at which the feedback was last updated.
|
RecommendationFeedback |
withReactions(Collection<String> reactions)
List for storing reactions.
|
RecommendationFeedback |
withReactions(Reaction... reactions)
List for storing reactions.
|
RecommendationFeedback |
withReactions(String... reactions)
List for storing reactions.
|
RecommendationFeedback |
withRecommendationId(String recommendationId)
The recommendation ID that can be used to track the provided recommendations.
|
RecommendationFeedback |
withUserId(String userId)
The ID of the user that made the API call.
|
public void setCodeReviewArn(String codeReviewArn)
The Amazon Resource Name (ARN) of the CodeReview object.
codeReviewArn
- The Amazon Resource Name (ARN) of the CodeReview object.public String getCodeReviewArn()
The Amazon Resource Name (ARN) of the CodeReview object.
public RecommendationFeedback withCodeReviewArn(String codeReviewArn)
The Amazon Resource Name (ARN) of the CodeReview object.
codeReviewArn
- The Amazon Resource Name (ARN) of the CodeReview object.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 RecommendationFeedback 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. You can send an empty list to clear off all your feedback.
Reaction
public void setReactions(Collection<String> reactions)
List for storing reactions. Reactions are utf-8 text code for emojis. You can send an empty list to clear off all your feedback.
reactions
- List for storing reactions. Reactions are utf-8 text code for emojis. You can send an empty list to clear
off all your feedback.Reaction
public RecommendationFeedback withReactions(String... reactions)
List for storing reactions. Reactions are utf-8 text code for emojis. You can send an empty list to clear off all your feedback.
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. You can send an empty list to clear
off all your feedback.Reaction
public RecommendationFeedback withReactions(Collection<String> reactions)
List for storing reactions. Reactions are utf-8 text code for emojis. You can send an empty list to clear off all your feedback.
reactions
- List for storing reactions. Reactions are utf-8 text code for emojis. You can send an empty list to clear
off all your feedback.Reaction
public RecommendationFeedback withReactions(Reaction... reactions)
List for storing reactions. Reactions are utf-8 text code for emojis. You can send an empty list to clear off all your feedback.
reactions
- List for storing reactions. Reactions are utf-8 text code for emojis. You can send an empty list to clear
off all your feedback.Reaction
public void setUserId(String userId)
The ID of the user that made the API call.
The UserId
is an IAM principal that can be specified as an Amazon Web Services account ID or an
Amazon Resource Name (ARN). For more information, see Specifying a Principal in the Amazon Web Services Identity and Access Management User Guide.
userId
- The ID of the user that made the API call.
The UserId
is an IAM principal that can be specified as an Amazon Web Services account ID or
an Amazon Resource Name (ARN). For more information, see Specifying a Principal in the Amazon Web Services Identity and Access Management User Guide.
public String getUserId()
The ID of the user that made the API call.
The UserId
is an IAM principal that can be specified as an Amazon Web Services account ID or an
Amazon Resource Name (ARN). For more information, see Specifying a Principal in the Amazon Web Services Identity and Access Management User Guide.
The UserId
is an IAM principal that can be specified as an Amazon Web Services account ID or
an Amazon Resource Name (ARN). For more information, see Specifying a Principal in the Amazon Web Services Identity and Access Management User Guide.
public RecommendationFeedback withUserId(String userId)
The ID of the user that made the API call.
The UserId
is an IAM principal that can be specified as an Amazon Web Services account ID or an
Amazon Resource Name (ARN). For more information, see Specifying a Principal in the Amazon Web Services Identity and Access Management User Guide.
userId
- The ID of the user that made the API call.
The UserId
is an IAM principal that can be specified as an Amazon Web Services account ID or
an Amazon Resource Name (ARN). For more information, see Specifying a Principal in the Amazon Web Services Identity and Access Management User Guide.
public void setCreatedTimeStamp(Date createdTimeStamp)
The time at which the feedback was created.
createdTimeStamp
- The time at which the feedback was created.public Date getCreatedTimeStamp()
The time at which the feedback was created.
public RecommendationFeedback withCreatedTimeStamp(Date createdTimeStamp)
The time at which the feedback was created.
createdTimeStamp
- The time at which the feedback was created.public void setLastUpdatedTimeStamp(Date lastUpdatedTimeStamp)
The time at which the feedback was last updated.
lastUpdatedTimeStamp
- The time at which the feedback was last updated.public Date getLastUpdatedTimeStamp()
The time at which the feedback was last updated.
public RecommendationFeedback withLastUpdatedTimeStamp(Date lastUpdatedTimeStamp)
The time at which the feedback was last updated.
lastUpdatedTimeStamp
- The time at which the feedback was last updated.public String toString()
toString
in class Object
Object.toString()
public RecommendationFeedback clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.