Struct aws_sdk_codecommit::types::builders::PullRequestMergedStateChangedEventMetadataBuilder
source · #[non_exhaustive]pub struct PullRequestMergedStateChangedEventMetadataBuilder { /* private fields */ }Expand description
A builder for PullRequestMergedStateChangedEventMetadata.
Implementations§
source§impl PullRequestMergedStateChangedEventMetadataBuilder
impl PullRequestMergedStateChangedEventMetadataBuilder
sourcepub fn repository_name(self, input: impl Into<String>) -> Self
pub fn repository_name(self, input: impl Into<String>) -> Self
The name of the repository where the pull request was created.
sourcepub fn set_repository_name(self, input: Option<String>) -> Self
pub fn set_repository_name(self, input: Option<String>) -> Self
The name of the repository where the pull request was created.
sourcepub fn get_repository_name(&self) -> &Option<String>
pub fn get_repository_name(&self) -> &Option<String>
The name of the repository where the pull request was created.
sourcepub fn destination_reference(self, input: impl Into<String>) -> Self
pub fn destination_reference(self, input: impl Into<String>) -> Self
The name of the branch that the pull request is merged into.
sourcepub fn set_destination_reference(self, input: Option<String>) -> Self
pub fn set_destination_reference(self, input: Option<String>) -> Self
The name of the branch that the pull request is merged into.
sourcepub fn get_destination_reference(&self) -> &Option<String>
pub fn get_destination_reference(&self) -> &Option<String>
The name of the branch that the pull request is merged into.
sourcepub fn merge_metadata(self, input: MergeMetadata) -> Self
pub fn merge_metadata(self, input: MergeMetadata) -> Self
Information about the merge state change event.
sourcepub fn set_merge_metadata(self, input: Option<MergeMetadata>) -> Self
pub fn set_merge_metadata(self, input: Option<MergeMetadata>) -> Self
Information about the merge state change event.
sourcepub fn get_merge_metadata(&self) -> &Option<MergeMetadata>
pub fn get_merge_metadata(&self) -> &Option<MergeMetadata>
Information about the merge state change event.
sourcepub fn build(self) -> PullRequestMergedStateChangedEventMetadata
pub fn build(self) -> PullRequestMergedStateChangedEventMetadata
Consumes the builder and constructs a PullRequestMergedStateChangedEventMetadata.
Trait Implementations§
source§impl Clone for PullRequestMergedStateChangedEventMetadataBuilder
impl Clone for PullRequestMergedStateChangedEventMetadataBuilder
source§fn clone(&self) -> PullRequestMergedStateChangedEventMetadataBuilder
fn clone(&self) -> PullRequestMergedStateChangedEventMetadataBuilder
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 PullRequestMergedStateChangedEventMetadataBuilder
impl Default for PullRequestMergedStateChangedEventMetadataBuilder
source§fn default() -> PullRequestMergedStateChangedEventMetadataBuilder
fn default() -> PullRequestMergedStateChangedEventMetadataBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for PullRequestMergedStateChangedEventMetadataBuilder
impl PartialEq for PullRequestMergedStateChangedEventMetadataBuilder
source§fn eq(&self, other: &PullRequestMergedStateChangedEventMetadataBuilder) -> bool
fn eq(&self, other: &PullRequestMergedStateChangedEventMetadataBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for PullRequestMergedStateChangedEventMetadataBuilder
Auto Trait Implementations§
impl RefUnwindSafe for PullRequestMergedStateChangedEventMetadataBuilder
impl Send for PullRequestMergedStateChangedEventMetadataBuilder
impl Sync for PullRequestMergedStateChangedEventMetadataBuilder
impl Unpin for PullRequestMergedStateChangedEventMetadataBuilder
impl UnwindSafe for PullRequestMergedStateChangedEventMetadataBuilder
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.