CopyableBuilder<CreateCommentRequest.Builder,CreateCommentRequest>
, SdkBuilder<CreateCommentRequest.Builder,CreateCommentRequest>
public static interface CreateCommentRequest.Builder extends CopyableBuilder<CreateCommentRequest.Builder,CreateCommentRequest>
Modifier and Type | Method | Description |
---|---|---|
CreateCommentRequest.Builder |
authenticationToken(String authenticationToken) |
Amazon WorkDocs authentication token.
|
CreateCommentRequest.Builder |
documentId(String documentId) |
The ID of the document.
|
CreateCommentRequest.Builder |
notifyCollaborators(Boolean notifyCollaborators) |
Set this parameter to TRUE to send an email out to the document collaborators after the comment is created.
|
CreateCommentRequest.Builder |
parentId(String parentId) |
The ID of the parent comment.
|
CreateCommentRequest.Builder |
text(String text) |
The text of the comment.
|
CreateCommentRequest.Builder |
threadId(String threadId) |
The ID of the root comment in the thread.
|
CreateCommentRequest.Builder |
versionId(String versionId) |
The ID of the document version.
|
CreateCommentRequest.Builder |
visibility(String visibility) |
The visibility of the comment.
|
CreateCommentRequest.Builder |
visibility(CommentVisibilityType visibility) |
The visibility of the comment.
|
copy
apply, build
CreateCommentRequest.Builder authenticationToken(String authenticationToken)
Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials.
authenticationToken
- Amazon WorkDocs authentication token. This field should not be set when using administrative API
actions, as in accessing the API using AWS credentials.CreateCommentRequest.Builder documentId(String documentId)
The ID of the document.
documentId
- The ID of the document.CreateCommentRequest.Builder versionId(String versionId)
The ID of the document version.
versionId
- The ID of the document version.CreateCommentRequest.Builder parentId(String parentId)
The ID of the parent comment.
parentId
- The ID of the parent comment.CreateCommentRequest.Builder threadId(String threadId)
The ID of the root comment in the thread.
threadId
- The ID of the root comment in the thread.CreateCommentRequest.Builder text(String text)
The text of the comment.
text
- The text of the comment.CreateCommentRequest.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
CreateCommentRequest.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
CreateCommentRequest.Builder notifyCollaborators(Boolean notifyCollaborators)
Set this parameter to TRUE to send an email out to the document collaborators after the comment is created.
notifyCollaborators
- Set this parameter to TRUE to send an email out to the document collaborators after the comment is
created.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.