Struct aws_sdk_codecommit::operation::merge_branches_by_squash::builders::MergeBranchesBySquashOutputBuilder
source · #[non_exhaustive]pub struct MergeBranchesBySquashOutputBuilder { /* private fields */ }Expand description
A builder for MergeBranchesBySquashOutput.
Implementations§
source§impl MergeBranchesBySquashOutputBuilder
impl MergeBranchesBySquashOutputBuilder
sourcepub fn commit_id(self, input: impl Into<String>) -> Self
pub fn commit_id(self, input: impl Into<String>) -> Self
The commit ID of the merge in the destination or target branch.
sourcepub fn set_commit_id(self, input: Option<String>) -> Self
pub fn set_commit_id(self, input: Option<String>) -> Self
The commit ID of the merge in the destination or target branch.
sourcepub fn get_commit_id(&self) -> &Option<String>
pub fn get_commit_id(&self) -> &Option<String>
The commit ID of the merge in the destination or target branch.
sourcepub fn tree_id(self, input: impl Into<String>) -> Self
pub fn tree_id(self, input: impl Into<String>) -> Self
The tree ID of the merge in the destination or target branch.
sourcepub fn set_tree_id(self, input: Option<String>) -> Self
pub fn set_tree_id(self, input: Option<String>) -> Self
The tree ID of the merge in the destination or target branch.
sourcepub fn get_tree_id(&self) -> &Option<String>
pub fn get_tree_id(&self) -> &Option<String>
The tree ID of the merge in the destination or target branch.
sourcepub fn build(self) -> MergeBranchesBySquashOutput
pub fn build(self) -> MergeBranchesBySquashOutput
Consumes the builder and constructs a MergeBranchesBySquashOutput.
Trait Implementations§
source§impl Clone for MergeBranchesBySquashOutputBuilder
impl Clone for MergeBranchesBySquashOutputBuilder
source§fn clone(&self) -> MergeBranchesBySquashOutputBuilder
fn clone(&self) -> MergeBranchesBySquashOutputBuilder
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 MergeBranchesBySquashOutputBuilder
impl Default for MergeBranchesBySquashOutputBuilder
source§fn default() -> MergeBranchesBySquashOutputBuilder
fn default() -> MergeBranchesBySquashOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for MergeBranchesBySquashOutputBuilder
impl PartialEq for MergeBranchesBySquashOutputBuilder
source§fn eq(&self, other: &MergeBranchesBySquashOutputBuilder) -> bool
fn eq(&self, other: &MergeBranchesBySquashOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for MergeBranchesBySquashOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for MergeBranchesBySquashOutputBuilder
impl Send for MergeBranchesBySquashOutputBuilder
impl Sync for MergeBranchesBySquashOutputBuilder
impl Unpin for MergeBranchesBySquashOutputBuilder
impl UnwindSafe for MergeBranchesBySquashOutputBuilder
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.