pub struct CreateCommentFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateComment
.
Adds a new comment to the specified document version.
Implementations§
source§impl CreateCommentFluentBuilder
impl CreateCommentFluentBuilder
sourcepub fn as_input(&self) -> &CreateCommentInputBuilder
pub fn as_input(&self) -> &CreateCommentInputBuilder
Access the CreateComment as a reference.
sourcepub async fn send(
self
) -> Result<CreateCommentOutput, SdkError<CreateCommentError, HttpResponse>>
pub async fn send( self ) -> Result<CreateCommentOutput, SdkError<CreateCommentError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<CreateCommentOutput, CreateCommentError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateCommentOutput, CreateCommentError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn authentication_token(self, input: impl Into<String>) -> Self
pub fn authentication_token(self, input: impl Into<String>) -> Self
Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
sourcepub fn set_authentication_token(self, input: Option<String>) -> Self
pub fn set_authentication_token(self, input: Option<String>) -> Self
Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
sourcepub fn get_authentication_token(&self) -> &Option<String>
pub fn get_authentication_token(&self) -> &Option<String>
Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
sourcepub fn document_id(self, input: impl Into<String>) -> Self
pub fn document_id(self, input: impl Into<String>) -> Self
The ID of the document.
sourcepub fn set_document_id(self, input: Option<String>) -> Self
pub fn set_document_id(self, input: Option<String>) -> Self
The ID of the document.
sourcepub fn get_document_id(&self) -> &Option<String>
pub fn get_document_id(&self) -> &Option<String>
The ID of the document.
sourcepub fn version_id(self, input: impl Into<String>) -> Self
pub fn version_id(self, input: impl Into<String>) -> Self
The ID of the document version.
sourcepub fn set_version_id(self, input: Option<String>) -> Self
pub fn set_version_id(self, input: Option<String>) -> Self
The ID of the document version.
sourcepub fn get_version_id(&self) -> &Option<String>
pub fn get_version_id(&self) -> &Option<String>
The ID of the document version.
sourcepub fn set_parent_id(self, input: Option<String>) -> Self
pub fn set_parent_id(self, input: Option<String>) -> Self
The ID of the parent comment.
sourcepub fn get_parent_id(&self) -> &Option<String>
pub fn get_parent_id(&self) -> &Option<String>
The ID of the parent comment.
sourcepub fn thread_id(self, input: impl Into<String>) -> Self
pub fn thread_id(self, input: impl Into<String>) -> Self
The ID of the root comment in the thread.
sourcepub fn set_thread_id(self, input: Option<String>) -> Self
pub fn set_thread_id(self, input: Option<String>) -> Self
The ID of the root comment in the thread.
sourcepub fn get_thread_id(&self) -> &Option<String>
pub fn get_thread_id(&self) -> &Option<String>
The ID of the root comment in the thread.
sourcepub fn visibility(self, input: CommentVisibilityType) -> Self
pub fn visibility(self, input: CommentVisibilityType) -> Self
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.
sourcepub fn set_visibility(self, input: Option<CommentVisibilityType>) -> Self
pub fn set_visibility(self, input: Option<CommentVisibilityType>) -> Self
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.
sourcepub fn get_visibility(&self) -> &Option<CommentVisibilityType>
pub fn get_visibility(&self) -> &Option<CommentVisibilityType>
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.
sourcepub fn notify_collaborators(self, input: bool) -> Self
pub fn notify_collaborators(self, input: bool) -> Self
Set this parameter to TRUE to send an email out to the document collaborators after the comment is created.
sourcepub fn set_notify_collaborators(self, input: Option<bool>) -> Self
pub fn set_notify_collaborators(self, input: Option<bool>) -> Self
Set this parameter to TRUE to send an email out to the document collaborators after the comment is created.
sourcepub fn get_notify_collaborators(&self) -> &Option<bool>
pub fn get_notify_collaborators(&self) -> &Option<bool>
Set this parameter to TRUE to send an email out to the document collaborators after the comment is created.
Trait Implementations§
source§impl Clone for CreateCommentFluentBuilder
impl Clone for CreateCommentFluentBuilder
source§fn clone(&self) -> CreateCommentFluentBuilder
fn clone(&self) -> CreateCommentFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more