pub struct UpdateCommentFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateComment
.
Replaces the contents of a comment.
Implementations§
source§impl UpdateCommentFluentBuilder
impl UpdateCommentFluentBuilder
sourcepub fn as_input(&self) -> &UpdateCommentInputBuilder
pub fn as_input(&self) -> &UpdateCommentInputBuilder
Access the UpdateComment as a reference.
sourcepub async fn send(
self
) -> Result<UpdateCommentOutput, SdkError<UpdateCommentError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateCommentOutput, SdkError<UpdateCommentError, 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<UpdateCommentOutput, UpdateCommentError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateCommentOutput, UpdateCommentError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn comment_id(self, input: impl Into<String>) -> Self
pub fn comment_id(self, input: impl Into<String>) -> Self
The system-generated ID of the comment you want to update. To get this ID, use GetCommentsForComparedCommit
or GetCommentsForPullRequest
.
sourcepub fn set_comment_id(self, input: Option<String>) -> Self
pub fn set_comment_id(self, input: Option<String>) -> Self
The system-generated ID of the comment you want to update. To get this ID, use GetCommentsForComparedCommit
or GetCommentsForPullRequest
.
sourcepub fn get_comment_id(&self) -> &Option<String>
pub fn get_comment_id(&self) -> &Option<String>
The system-generated ID of the comment you want to update. To get this ID, use GetCommentsForComparedCommit
or GetCommentsForPullRequest
.
sourcepub fn content(self, input: impl Into<String>) -> Self
pub fn content(self, input: impl Into<String>) -> Self
The updated content to replace the existing content of the comment.
sourcepub fn set_content(self, input: Option<String>) -> Self
pub fn set_content(self, input: Option<String>) -> Self
The updated content to replace the existing content of the comment.
sourcepub fn get_content(&self) -> &Option<String>
pub fn get_content(&self) -> &Option<String>
The updated content to replace the existing content of the comment.
Trait Implementations§
source§impl Clone for UpdateCommentFluentBuilder
impl Clone for UpdateCommentFluentBuilder
source§fn clone(&self) -> UpdateCommentFluentBuilder
fn clone(&self) -> UpdateCommentFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more