Interface Comment.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Comment.Builder,
,Comment> SdkBuilder<Comment.Builder,
,Comment> SdkPojo
- Enclosing class:
Comment
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the person who posted the comment.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.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.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.The system-generated comment ID.The content of the comment.creationDate
(Instant creationDate) The date and time the comment was created, in timestamp format.A Boolean value indicating whether the comment has been deleted.The ID of the comment for which this comment is a reply, if any.lastModifiedDate
(Instant lastModifiedDate) The date and time the comment was most recently modified, in timestamp format.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.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 Details
-
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
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
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
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
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
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
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
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
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
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
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.
-