JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.codegurureviewer.model

Class RecommendationFeedback

    • Constructor Detail

      • RecommendationFeedback

        public RecommendationFeedback()
    • Method Detail

      • setCodeReviewArn

        public void setCodeReviewArn(String codeReviewArn)

        The Amazon Resource Name (ARN) of the CodeReview object.

        Parameters:
        codeReviewArn - The Amazon Resource Name (ARN) of the CodeReview object.
      • getCodeReviewArn

        public String getCodeReviewArn()

        The Amazon Resource Name (ARN) of the CodeReview object.

        Returns:
        The Amazon Resource Name (ARN) of the CodeReview object.
      • withCodeReviewArn

        public RecommendationFeedback withCodeReviewArn(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.
      • setRecommendationId

        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.

        Parameters:
        recommendationId - The recommendation ID that can be used to track the provided recommendations. Later on it can be used to collect the feedback.
      • getRecommendationId

        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.

        Returns:
        The recommendation ID that can be used to track the provided recommendations. Later on it can be used to collect the feedback.
      • withRecommendationId

        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.

        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.
      • getReactions

        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.

        Returns:
        List for storing reactions. Reactions are utf-8 text code for emojis. You can send an empty list to clear off all your feedback.
        See Also:
        Reaction
      • setReactions

        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.

        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.
        See Also:
        Reaction
      • withReactions

        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.

        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.
        See Also:
        Reaction
      • withReactions

        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.

        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.
        See Also:
        Reaction
      • withReactions

        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.

        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.
        See Also:
        Reaction
      • setUserId

        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.

        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.

      • getUserId

        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.

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

      • withUserId

        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.

        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.
      • setCreatedTimeStamp

        public void setCreatedTimeStamp(Date createdTimeStamp)

        The time at which the feedback was created.

        Parameters:
        createdTimeStamp - The time at which the feedback was created.
      • getCreatedTimeStamp

        public Date getCreatedTimeStamp()

        The time at which the feedback was created.

        Returns:
        The time at which the feedback was created.
      • withCreatedTimeStamp

        public RecommendationFeedback withCreatedTimeStamp(Date 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.
      • setLastUpdatedTimeStamp

        public void setLastUpdatedTimeStamp(Date lastUpdatedTimeStamp)

        The time at which the feedback was last updated.

        Parameters:
        lastUpdatedTimeStamp - The time at which the feedback was last updated.
      • getLastUpdatedTimeStamp

        public Date getLastUpdatedTimeStamp()

        The time at which the feedback was last updated.

        Returns:
        The time at which the feedback was last updated.
      • withLastUpdatedTimeStamp

        public RecommendationFeedback withLastUpdatedTimeStamp(Date 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.
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /