Interface RecommendationFeedback.Builder

  • Method Details

    • 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

      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

      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.

      Parameters:
      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.

      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.