Interface ReactionForComment.Builder

  • Method Details

    • reaction

      The reaction for a specified comment.

      Parameters:
      reaction - The reaction for a specified comment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • reaction

      The reaction for a specified comment.

      This is a convenience method that creates an instance of the ReactionValueFormats.Builder avoiding the need to create one manually via ReactionValueFormats.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to reaction(ReactionValueFormats).

      Parameters:
      reaction - a consumer that will call methods on ReactionValueFormats.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • reactionUsers

      ReactionForComment.Builder reactionUsers(Collection<String> reactionUsers)

      The Amazon Resource Names (ARNs) of users who have provided reactions to the comment.

      Parameters:
      reactionUsers - The Amazon Resource Names (ARNs) of users who have provided reactions to the comment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • reactionUsers

      ReactionForComment.Builder reactionUsers(String... reactionUsers)

      The Amazon Resource Names (ARNs) of users who have provided reactions to the comment.

      Parameters:
      reactionUsers - The Amazon Resource Names (ARNs) of users who have provided reactions to the comment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • reactionsFromDeletedUsersCount

      ReactionForComment.Builder reactionsFromDeletedUsersCount(Integer reactionsFromDeletedUsersCount)

      A numerical count of users who reacted with the specified emoji whose identities have been subsequently deleted from IAM. While these IAM users or roles no longer exist, the reactions might still appear in total reaction counts.

      Parameters:
      reactionsFromDeletedUsersCount - A numerical count of users who reacted with the specified emoji whose identities have been subsequently deleted from IAM. While these IAM users or roles no longer exist, the reactions might still appear in total reaction counts.
      Returns:
      Returns a reference to this object so that method calls can be chained together.