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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Comment.BuilderauthorArn(String authorArn)The Amazon Resource Name (ARN) of the person who posted the comment.Comment.BuildercallerReactions(String... callerReactions)The emoji reactions to a comment, if any, submitted by the user whose credentials are associated with the call to the API.Comment.BuildercallerReactions(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.Comment.BuilderclientRequestToken(String clientRequestToken)A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be repeated with a changed parameter.Comment.BuildercommentId(String commentId)The system-generated comment ID.Comment.Buildercontent(String content)The content of the comment.Comment.BuildercreationDate(Instant creationDate)The date and time the comment was created, in timestamp format.Comment.Builderdeleted(Boolean deleted)A Boolean value indicating whether the comment has been deleted.Comment.BuilderinReplyTo(String inReplyTo)The ID of the comment for which this comment is a reply, if any.Comment.BuilderlastModifiedDate(Instant lastModifiedDate)The date and time the comment was most recently modified, in timestamp format.Comment.BuilderreactionCounts(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 Detail
-
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.
-
-