#[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 ==.impl StructuralPartialEq for UpdateCommentInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateCommentInputBuilder
impl RefUnwindSafe for UpdateCommentInputBuilder
impl Send for UpdateCommentInputBuilder
impl Sync for UpdateCommentInputBuilder
impl Unpin for UpdateCommentInputBuilder
impl UnwindSafe for UpdateCommentInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more