Interface RecommendationFeedback.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RecommendationFeedback.Builder,RecommendationFeedback>,SdkBuilder<RecommendationFeedback.Builder,RecommendationFeedback>,SdkPojo
- Enclosing class:
- RecommendationFeedback
public static interface RecommendationFeedback.Builder extends SdkPojo, CopyableBuilder<RecommendationFeedback.Builder,RecommendationFeedback>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RecommendationFeedback.BuildercodeReviewArn(String codeReviewArn)The Amazon Resource Name (ARN) of the CodeReview object.RecommendationFeedback.BuildercreatedTimeStamp(Instant createdTimeStamp)The time at which the feedback was created.RecommendationFeedback.BuilderlastUpdatedTimeStamp(Instant lastUpdatedTimeStamp)The time at which the feedback was last updated.RecommendationFeedback.Builderreactions(Collection<Reaction> reactions)List for storing reactions.RecommendationFeedback.Builderreactions(Reaction... reactions)List for storing reactions.RecommendationFeedback.BuilderreactionsWithStrings(String... reactions)List for storing reactions.RecommendationFeedback.BuilderreactionsWithStrings(Collection<String> reactions)List for storing reactions.RecommendationFeedback.BuilderrecommendationId(String recommendationId)The recommendation ID that can be used to track the provided recommendations.RecommendationFeedback.BuilderuserId(String userId)The ID of the user that made the API call.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
codeReviewArn
RecommendationFeedback.Builder codeReviewArn(String codeReviewArn)
The Amazon Resource Name (ARN) of the CodeReview object.
- Parameters:
codeReviewArn- The Amazon Resource Name (ARN) of the CodeReview object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendationId
RecommendationFeedback.Builder recommendationId(String recommendationId)
The recommendation ID that can be used to track the provided recommendations. Later on it can be used to collect the feedback.
- Parameters:
recommendationId- The recommendation ID that can be used to track the provided recommendations. Later on it can be used to collect the feedback.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reactionsWithStrings
RecommendationFeedback.Builder reactionsWithStrings(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reactionsWithStrings
RecommendationFeedback.Builder reactionsWithStrings(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reactions
RecommendationFeedback.Builder reactions(Collection<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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reactions
RecommendationFeedback.Builder reactions(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userId
RecommendationFeedback.Builder userId(String userId)
The ID of the user that made the API call.
The
UserIdis 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.- Parameters:
userId- The ID of the user that made the API call.The
UserIdis 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdTimeStamp
RecommendationFeedback.Builder createdTimeStamp(Instant createdTimeStamp)
The time at which the feedback was created.
- Parameters:
createdTimeStamp- The time at which the feedback was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedTimeStamp
RecommendationFeedback.Builder lastUpdatedTimeStamp(Instant lastUpdatedTimeStamp)
The time at which the feedback was last updated.
- Parameters:
lastUpdatedTimeStamp- The time at which the feedback was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-