Struct aws_sdk_codecommit::types::builders::MergeMetadataBuilder
source · #[non_exhaustive]pub struct MergeMetadataBuilder { /* private fields */ }Expand description
A builder for MergeMetadata.
Implementations§
source§impl MergeMetadataBuilder
impl MergeMetadataBuilder
sourcepub fn is_merged(self, input: bool) -> Self
pub fn is_merged(self, input: bool) -> Self
A Boolean value indicating whether the merge has been made.
sourcepub fn set_is_merged(self, input: Option<bool>) -> Self
pub fn set_is_merged(self, input: Option<bool>) -> Self
A Boolean value indicating whether the merge has been made.
sourcepub fn get_is_merged(&self) -> &Option<bool>
pub fn get_is_merged(&self) -> &Option<bool>
A Boolean value indicating whether the merge has been made.
sourcepub fn merged_by(self, input: impl Into<String>) -> Self
pub fn merged_by(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the user who merged the branches.
sourcepub fn set_merged_by(self, input: Option<String>) -> Self
pub fn set_merged_by(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the user who merged the branches.
sourcepub fn get_merged_by(&self) -> &Option<String>
pub fn get_merged_by(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the user who merged the branches.
sourcepub fn merge_commit_id(self, input: impl Into<String>) -> Self
pub fn merge_commit_id(self, input: impl Into<String>) -> Self
The commit ID for the merge commit, if any.
sourcepub fn set_merge_commit_id(self, input: Option<String>) -> Self
pub fn set_merge_commit_id(self, input: Option<String>) -> Self
The commit ID for the merge commit, if any.
sourcepub fn get_merge_commit_id(&self) -> &Option<String>
pub fn get_merge_commit_id(&self) -> &Option<String>
The commit ID for the merge commit, if any.
sourcepub fn merge_option(self, input: MergeOptionTypeEnum) -> Self
pub fn merge_option(self, input: MergeOptionTypeEnum) -> Self
The merge strategy used in the merge.
sourcepub fn set_merge_option(self, input: Option<MergeOptionTypeEnum>) -> Self
pub fn set_merge_option(self, input: Option<MergeOptionTypeEnum>) -> Self
The merge strategy used in the merge.
sourcepub fn get_merge_option(&self) -> &Option<MergeOptionTypeEnum>
pub fn get_merge_option(&self) -> &Option<MergeOptionTypeEnum>
The merge strategy used in the merge.
sourcepub fn build(self) -> MergeMetadata
pub fn build(self) -> MergeMetadata
Consumes the builder and constructs a MergeMetadata.
Trait Implementations§
source§impl Clone for MergeMetadataBuilder
impl Clone for MergeMetadataBuilder
source§fn clone(&self) -> MergeMetadataBuilder
fn clone(&self) -> MergeMetadataBuilder
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 Debug for MergeMetadataBuilder
impl Debug for MergeMetadataBuilder
source§impl Default for MergeMetadataBuilder
impl Default for MergeMetadataBuilder
source§fn default() -> MergeMetadataBuilder
fn default() -> MergeMetadataBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for MergeMetadataBuilder
impl PartialEq for MergeMetadataBuilder
source§fn eq(&self, other: &MergeMetadataBuilder) -> bool
fn eq(&self, other: &MergeMetadataBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for MergeMetadataBuilder
Auto Trait Implementations§
impl Freeze for MergeMetadataBuilder
impl RefUnwindSafe for MergeMetadataBuilder
impl Send for MergeMetadataBuilder
impl Sync for MergeMetadataBuilder
impl Unpin for MergeMetadataBuilder
impl UnwindSafe for MergeMetadataBuilder
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>
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.