Interface CreateCommentRequest.Builder
- All Superinterfaces:
- AwsRequest.Builder,- Buildable,- CopyableBuilder<CreateCommentRequest.Builder,,- CreateCommentRequest> - SdkBuilder<CreateCommentRequest.Builder,,- CreateCommentRequest> - SdkPojo,- SdkRequest.Builder,- WorkDocsRequest.Builder
- Enclosing class:
- CreateCommentRequest
- 
Method SummaryModifier and TypeMethodDescriptionauthenticationToken(String authenticationToken) Amazon WorkDocs authentication token.documentId(String documentId) The ID of the document.notifyCollaborators(Boolean notifyCollaborators) Set this parameter to TRUE to send an email out to the document collaborators after the comment is created.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The ID of the parent comment.The text of the comment.The ID of the root comment in the thread.The ID of the document version.visibility(String visibility) The visibility of the comment.visibility(CommentVisibilityType visibility) The visibility of the comment.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.workdocs.model.WorkDocsRequest.Builderbuild
- 
Method Details- 
authenticationTokenAmazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API. - Parameters:
- authenticationToken- Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
documentIdThe ID of the document. - Parameters:
- documentId- The ID of the document.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
versionIdThe ID of the document version. - Parameters:
- versionId- The ID of the document version.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
parentIdThe ID of the parent comment. - Parameters:
- parentId- The ID of the parent comment.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
threadIdThe ID of the root comment in the thread. - Parameters:
- threadId- The ID of the root comment in the thread.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
textThe text of the comment. - Parameters:
- text- The text of the comment.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
visibilityThe 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. - Parameters:
- 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
visibilityThe 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. - Parameters:
- 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
notifyCollaboratorsSet this parameter to TRUE to send an email out to the document collaborators after the comment is created. - Parameters:
- notifyCollaborators- Set this parameter to TRUE to send an email out to the document collaborators after the comment is created.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
overrideConfigurationCreateCommentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationCreateCommentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-