@Generated(value="software.amazon.awssdk:codegen") public final class RecommendationFeedback extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RecommendationFeedback.Builder,RecommendationFeedback>
Information about the recommendation feedback.
| Modifier and Type | Class and Description |
|---|---|
static interface |
RecommendationFeedback.Builder |
| Modifier and Type | Method and Description |
|---|---|
static RecommendationFeedback.Builder |
builder() |
String |
codeReviewArn()
The Amazon Resource Name (ARN) of the
CodeReview
object. |
Instant |
createdTimeStamp()
The time at which the feedback was created.
|
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).
|
Instant |
lastUpdatedTimeStamp()
The time at which the feedback was last updated.
|
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 RecommendationFeedback.Builder> |
serializableBuilderClass() |
RecommendationFeedback.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
userId()
The ID of the user that made the API call.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String codeReviewArn()
The Amazon Resource Name (ARN) of the CodeReview
object.
CodeReview object.public 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. You can send an empty list to clear off all your feedback.
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. You can send an empty list to clear off all your feedback.
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 made the API call.
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 Instant createdTimeStamp()
The time at which the feedback was created.
public Instant lastUpdatedTimeStamp()
The time at which the feedback was last updated.
public RecommendationFeedback.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<RecommendationFeedback.Builder,RecommendationFeedback>public static RecommendationFeedback.Builder builder()
public static Class<? extends RecommendationFeedback.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.