CopyableBuilder<Comment.Builder,Comment>
, SdkBuilder<Comment.Builder,Comment>
public static interface Comment.Builder extends CopyableBuilder<Comment.Builder,Comment>
Modifier and Type | Method | Description |
---|---|---|
Comment.Builder |
commentId(String commentId) |
The ID of the comment.
|
Comment.Builder |
contributor(User contributor) |
The details of the user who made the comment.
|
Comment.Builder |
createdTimestamp(Date createdTimestamp) |
The time that the comment was created.
|
Comment.Builder |
parentId(String parentId) |
The ID of the parent comment.
|
Comment.Builder |
recipientId(String recipientId) |
If the comment is a reply to another user's comment, this field contains the user ID of the user being
replied to.
|
Comment.Builder |
status(String status) |
The status of the comment.
|
Comment.Builder |
status(CommentStatusType status) |
The status of the comment.
|
Comment.Builder |
text(String text) |
The text of the comment.
|
Comment.Builder |
threadId(String threadId) |
The ID of the root comment in the thread.
|
Comment.Builder |
visibility(String visibility) |
The visibility of the comment.
|
Comment.Builder |
visibility(CommentVisibilityType visibility) |
The visibility of the comment.
|
copy
apply, build
Comment.Builder commentId(String commentId)
The ID of the comment.
commentId
- The ID of the comment.Comment.Builder parentId(String parentId)
The ID of the parent comment.
parentId
- The ID of the parent comment.Comment.Builder threadId(String threadId)
The ID of the root comment in the thread.
threadId
- The ID of the root comment in the thread.Comment.Builder text(String text)
The text of the comment.
text
- The text of the comment.Comment.Builder contributor(User contributor)
The details of the user who made the comment.
contributor
- The details of the user who made the comment.Comment.Builder createdTimestamp(Date createdTimestamp)
The time that the comment was created.
createdTimestamp
- The time that the comment was created.Comment.Builder status(String status)
The status of the comment.
status
- The status of the comment.CommentStatusType
Comment.Builder status(CommentStatusType status)
The status of the comment.
status
- The status of the comment.CommentStatusType
Comment.Builder visibility(String visibility)
The visibility of the comment. Options are either PRIVATE, where the comment is visible only to the comment author and document owner and co-owners, or PUBLIC, where the comment is visible to document owners, co-owners, and contributors.
visibility
- The visibility of the comment. Options are either PRIVATE, where the comment is visible only to the
comment author and document owner and co-owners, or PUBLIC, where the comment is visible to document
owners, co-owners, and contributors.CommentVisibilityType
Comment.Builder visibility(CommentVisibilityType visibility)
The visibility of the comment. Options are either PRIVATE, where the comment is visible only to the comment author and document owner and co-owners, or PUBLIC, where the comment is visible to document owners, co-owners, and contributors.
visibility
- The visibility of the comment. Options are either PRIVATE, where the comment is visible only to the
comment author and document owner and co-owners, or PUBLIC, where the comment is visible to document
owners, co-owners, and contributors.CommentVisibilityType
Comment.Builder recipientId(String recipientId)
If the comment is a reply to another user's comment, this field contains the user ID of the user being replied to.
recipientId
- If the comment is a reply to another user's comment, this field contains the user ID of the user being
replied to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.