Interface Comment.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Comment.Builder,Comment>, SdkBuilder<Comment.Builder,Comment>, SdkPojo
Enclosing class:
Comment

public static interface Comment.Builder extends SdkPojo, CopyableBuilder<Comment.Builder,Comment>
  • Method Details

    • commentId

      Comment.Builder commentId(String commentId)

      The system-generated comment ID.

      Parameters:
      commentId - The system-generated comment ID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • content

      Comment.Builder content(String content)

      The content of the comment.

      Parameters:
      content - The content of the comment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • inReplyTo

      Comment.Builder inReplyTo(String inReplyTo)

      The ID of the comment for which this comment is a reply, if any.

      Parameters:
      inReplyTo - The ID of the comment for which this comment is a reply, if any.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • creationDate

      Comment.Builder creationDate(Instant creationDate)

      The date and time the comment was created, in timestamp format.

      Parameters:
      creationDate - The date and time the comment was created, in timestamp format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastModifiedDate

      Comment.Builder lastModifiedDate(Instant lastModifiedDate)

      The date and time the comment was most recently modified, in timestamp format.

      Parameters:
      lastModifiedDate - The date and time the comment was most recently modified, in timestamp format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • authorArn

      Comment.Builder authorArn(String authorArn)

      The Amazon Resource Name (ARN) of the person who posted the comment.

      Parameters:
      authorArn - The Amazon Resource Name (ARN) of the person who posted the comment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • deleted

      Comment.Builder deleted(Boolean deleted)

      A Boolean value indicating whether the comment has been deleted.

      Parameters:
      deleted - A Boolean value indicating whether the comment has been deleted.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clientRequestToken

      Comment.Builder clientRequestToken(String clientRequestToken)

      A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request is received with the same parameters and a token is included, the request returns information about the initial request that used that token.

      Parameters:
      clientRequestToken - A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request is received with the same parameters and a token is included, the request returns information about the initial request that used that token.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • callerReactions

      Comment.Builder callerReactions(Collection<String> callerReactions)

      The emoji reactions to a comment, if any, submitted by the user whose credentials are associated with the call to the API.

      Parameters:
      callerReactions - The emoji reactions to a comment, if any, submitted by the user whose credentials are associated with the call to the API.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • callerReactions

      Comment.Builder callerReactions(String... callerReactions)

      The emoji reactions to a comment, if any, submitted by the user whose credentials are associated with the call to the API.

      Parameters:
      callerReactions - The emoji reactions to a comment, if any, submitted by the user whose credentials are associated with the call to the API.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • reactionCounts

      Comment.Builder reactionCounts(Map<String,Integer> reactionCounts)

      A string to integer map that represents the number of individual users who have responded to a comment with the specified reactions.

      Parameters:
      reactionCounts - A string to integer map that represents the number of individual users who have responded to a comment with the specified reactions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.