Struct aws_sdk_codecommit::operation::update_pull_request_description::builders::UpdatePullRequestDescriptionInputBuilder
source · #[non_exhaustive]pub struct UpdatePullRequestDescriptionInputBuilder { /* private fields */ }Expand description
A builder for UpdatePullRequestDescriptionInput.
Implementations§
source§impl UpdatePullRequestDescriptionInputBuilder
impl UpdatePullRequestDescriptionInputBuilder
sourcepub fn pull_request_id(self, input: impl Into<String>) -> Self
pub fn pull_request_id(self, input: impl Into<String>) -> Self
The system-generated ID of the pull request. To get this ID, use ListPullRequests.
sourcepub fn set_pull_request_id(self, input: Option<String>) -> Self
pub fn set_pull_request_id(self, input: Option<String>) -> Self
The system-generated ID of the pull request. To get this ID, use ListPullRequests.
sourcepub fn get_pull_request_id(&self) -> &Option<String>
pub fn get_pull_request_id(&self) -> &Option<String>
The system-generated ID of the pull request. To get this ID, use ListPullRequests.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The updated content of the description for the pull request. This content replaces the existing description.
This field is required.sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The updated content of the description for the pull request. This content replaces the existing description.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The updated content of the description for the pull request. This content replaces the existing description.
sourcepub fn build(self) -> Result<UpdatePullRequestDescriptionInput, BuildError>
pub fn build(self) -> Result<UpdatePullRequestDescriptionInput, BuildError>
Consumes the builder and constructs a UpdatePullRequestDescriptionInput.
source§impl UpdatePullRequestDescriptionInputBuilder
impl UpdatePullRequestDescriptionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdatePullRequestDescriptionOutput, SdkError<UpdatePullRequestDescriptionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdatePullRequestDescriptionOutput, SdkError<UpdatePullRequestDescriptionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdatePullRequestDescriptionInputBuilder
impl Clone for UpdatePullRequestDescriptionInputBuilder
source§fn clone(&self) -> UpdatePullRequestDescriptionInputBuilder
fn clone(&self) -> UpdatePullRequestDescriptionInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for UpdatePullRequestDescriptionInputBuilder
impl Default for UpdatePullRequestDescriptionInputBuilder
source§fn default() -> UpdatePullRequestDescriptionInputBuilder
fn default() -> UpdatePullRequestDescriptionInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UpdatePullRequestDescriptionInputBuilder
impl PartialEq for UpdatePullRequestDescriptionInputBuilder
source§fn eq(&self, other: &UpdatePullRequestDescriptionInputBuilder) -> bool
fn eq(&self, other: &UpdatePullRequestDescriptionInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdatePullRequestDescriptionInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for UpdatePullRequestDescriptionInputBuilder
impl Send for UpdatePullRequestDescriptionInputBuilder
impl Sync for UpdatePullRequestDescriptionInputBuilder
impl Unpin for UpdatePullRequestDescriptionInputBuilder
impl UnwindSafe for UpdatePullRequestDescriptionInputBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.