public static interface CreateCommentRequest.Builder extends WorkDocsRequest.Builder, CopyableBuilder<CreateCommentRequest.Builder,CreateCommentRequest>
Modifier and Type | Method and 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 |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateCommentRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
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(CommentVisibilityType visibility)
The visibility of the comment.
|
CreateCommentRequest.Builder |
visibility(String visibility)
The visibility of the comment.
|
build
overrideConfiguration
copy
applyMutation, build
CreateCommentRequest.Builder authenticationToken(String authenticationToken)
Amazon WorkDocs authentication token. Do not set this field when using administrative API actions, as in accessing the API using AWS credentials.
authenticationToken
- Amazon WorkDocs authentication token. Do not set this field 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
,
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
,
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.CreateCommentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateCommentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.