@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutRecommendationFeedbackRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
PutRecommendationFeedbackRequest() |
Modifier and Type | Method and Description |
---|---|
PutRecommendationFeedbackRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getCodeReviewArn()
The Amazon Resource Name (ARN) of the CodeReview object.
|
List<String> |
getReactions()
List for storing reactions.
|
String |
getRecommendationId()
The recommendation ID that can be used to track the provided recommendations and then to collect the feedback.
|
int |
hashCode() |
void |
setCodeReviewArn(String codeReviewArn)
The Amazon Resource Name (ARN) of the CodeReview object.
|
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 and then to collect the feedback.
|
String |
toString()
Returns a string representation of this object.
|
PutRecommendationFeedbackRequest |
withCodeReviewArn(String codeReviewArn)
The Amazon Resource Name (ARN) of the CodeReview object.
|
PutRecommendationFeedbackRequest |
withReactions(Collection<String> reactions)
List for storing reactions.
|
PutRecommendationFeedbackRequest |
withReactions(Reaction... reactions)
List for storing reactions.
|
PutRecommendationFeedbackRequest |
withReactions(String... reactions)
List for storing reactions.
|
PutRecommendationFeedbackRequest |
withRecommendationId(String recommendationId)
The recommendation ID that can be used to track the provided recommendations and then to collect the feedback.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
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 PutRecommendationFeedbackRequest 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 and then to collect the feedback.
recommendationId
- The recommendation ID that can be used to track the provided recommendations and then to collect the
feedback.public String getRecommendationId()
The recommendation ID that can be used to track the provided recommendations and then to collect the feedback.
public PutRecommendationFeedbackRequest withRecommendationId(String recommendationId)
The recommendation ID that can be used to track the provided recommendations and then to collect the feedback.
recommendationId
- The recommendation ID that can be used to track the provided recommendations and then to collect the
feedback.public List<String> getReactions()
List for storing reactions. Reactions are utf-8 text code for emojis. If you send an empty list it clears all your feedback.
Reaction
public void setReactions(Collection<String> reactions)
List for storing reactions. Reactions are utf-8 text code for emojis. If you send an empty list it clears all your feedback.
reactions
- List for storing reactions. Reactions are utf-8 text code for emojis. If you send an empty list it clears
all your feedback.Reaction
public PutRecommendationFeedbackRequest withReactions(String... reactions)
List for storing reactions. Reactions are utf-8 text code for emojis. If you send an empty list it clears 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. If you send an empty list it clears
all your feedback.Reaction
public PutRecommendationFeedbackRequest withReactions(Collection<String> reactions)
List for storing reactions. Reactions are utf-8 text code for emojis. If you send an empty list it clears all your feedback.
reactions
- List for storing reactions. Reactions are utf-8 text code for emojis. If you send an empty list it clears
all your feedback.Reaction
public PutRecommendationFeedbackRequest withReactions(Reaction... reactions)
List for storing reactions. Reactions are utf-8 text code for emojis. If you send an empty list it clears all your feedback.
reactions
- List for storing reactions. Reactions are utf-8 text code for emojis. If you send an empty list it clears
all your feedback.Reaction
public String toString()
toString
in class Object
Object.toString()
public PutRecommendationFeedbackRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()