#[non_exhaustive]pub struct UpdateCommentInputBuilder { /* private fields */ }Expand description
A builder for UpdateCommentInput.
Implementations§
source§impl UpdateCommentInputBuilder
impl UpdateCommentInputBuilder
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.
This field is required.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.
sourcepub fn build(self) -> Result<UpdateCommentInput, BuildError>
pub fn build(self) -> Result<UpdateCommentInput, BuildError>
Consumes the builder and constructs a UpdateCommentInput.
source§impl UpdateCommentInputBuilder
impl UpdateCommentInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateCommentOutput, SdkError<UpdateCommentError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateCommentOutput, SdkError<UpdateCommentError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateCommentInputBuilder
impl Clone for UpdateCommentInputBuilder
source§fn clone(&self) -> UpdateCommentInputBuilder
fn clone(&self) -> UpdateCommentInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UpdateCommentInputBuilder
impl Debug for UpdateCommentInputBuilder
source§impl Default for UpdateCommentInputBuilder
impl Default for UpdateCommentInputBuilder
source§fn default() -> UpdateCommentInputBuilder
fn default() -> UpdateCommentInputBuilder
source§impl PartialEq for UpdateCommentInputBuilder
impl PartialEq for UpdateCommentInputBuilder
source§fn eq(&self, other: &UpdateCommentInputBuilder) -> bool
fn eq(&self, other: &UpdateCommentInputBuilder) -> bool
self and other values to be equal, and is used
by ==.