Struct aws_sdk_codecommit::operation::get_merge_options::builders::GetMergeOptionsOutputBuilder
source · #[non_exhaustive]pub struct GetMergeOptionsOutputBuilder { /* private fields */ }Expand description
A builder for GetMergeOptionsOutput.
Implementations§
source§impl GetMergeOptionsOutputBuilder
impl GetMergeOptionsOutputBuilder
sourcepub fn merge_options(self, input: MergeOptionTypeEnum) -> Self
pub fn merge_options(self, input: MergeOptionTypeEnum) -> Self
Appends an item to merge_options.
To override the contents of this collection use set_merge_options.
The merge option or strategy used to merge the code.
sourcepub fn set_merge_options(self, input: Option<Vec<MergeOptionTypeEnum>>) -> Self
pub fn set_merge_options(self, input: Option<Vec<MergeOptionTypeEnum>>) -> Self
The merge option or strategy used to merge the code.
sourcepub fn get_merge_options(&self) -> &Option<Vec<MergeOptionTypeEnum>>
pub fn get_merge_options(&self) -> &Option<Vec<MergeOptionTypeEnum>>
The merge option or strategy used to merge the code.
sourcepub fn source_commit_id(self, input: impl Into<String>) -> Self
pub fn source_commit_id(self, input: impl Into<String>) -> Self
The commit ID of the source commit specifier that was used in the merge evaluation.
This field is required.sourcepub fn set_source_commit_id(self, input: Option<String>) -> Self
pub fn set_source_commit_id(self, input: Option<String>) -> Self
The commit ID of the source commit specifier that was used in the merge evaluation.
sourcepub fn get_source_commit_id(&self) -> &Option<String>
pub fn get_source_commit_id(&self) -> &Option<String>
The commit ID of the source commit specifier that was used in the merge evaluation.
sourcepub fn destination_commit_id(self, input: impl Into<String>) -> Self
pub fn destination_commit_id(self, input: impl Into<String>) -> Self
The commit ID of the destination commit specifier that was used in the merge evaluation.
This field is required.sourcepub fn set_destination_commit_id(self, input: Option<String>) -> Self
pub fn set_destination_commit_id(self, input: Option<String>) -> Self
The commit ID of the destination commit specifier that was used in the merge evaluation.
sourcepub fn get_destination_commit_id(&self) -> &Option<String>
pub fn get_destination_commit_id(&self) -> &Option<String>
The commit ID of the destination commit specifier that was used in the merge evaluation.
sourcepub fn base_commit_id(self, input: impl Into<String>) -> Self
pub fn base_commit_id(self, input: impl Into<String>) -> Self
The commit ID of the merge base.
This field is required.sourcepub fn set_base_commit_id(self, input: Option<String>) -> Self
pub fn set_base_commit_id(self, input: Option<String>) -> Self
The commit ID of the merge base.
sourcepub fn get_base_commit_id(&self) -> &Option<String>
pub fn get_base_commit_id(&self) -> &Option<String>
The commit ID of the merge base.
sourcepub fn build(self) -> Result<GetMergeOptionsOutput, BuildError>
pub fn build(self) -> Result<GetMergeOptionsOutput, BuildError>
Consumes the builder and constructs a GetMergeOptionsOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for GetMergeOptionsOutputBuilder
impl Clone for GetMergeOptionsOutputBuilder
source§fn clone(&self) -> GetMergeOptionsOutputBuilder
fn clone(&self) -> GetMergeOptionsOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GetMergeOptionsOutputBuilder
impl Debug for GetMergeOptionsOutputBuilder
source§impl Default for GetMergeOptionsOutputBuilder
impl Default for GetMergeOptionsOutputBuilder
source§fn default() -> GetMergeOptionsOutputBuilder
fn default() -> GetMergeOptionsOutputBuilder
source§impl PartialEq for GetMergeOptionsOutputBuilder
impl PartialEq for GetMergeOptionsOutputBuilder
source§fn eq(&self, other: &GetMergeOptionsOutputBuilder) -> bool
fn eq(&self, other: &GetMergeOptionsOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetMergeOptionsOutputBuilder
Auto Trait Implementations§
impl Freeze for GetMergeOptionsOutputBuilder
impl RefUnwindSafe for GetMergeOptionsOutputBuilder
impl Send for GetMergeOptionsOutputBuilder
impl Sync for GetMergeOptionsOutputBuilder
impl Unpin for GetMergeOptionsOutputBuilder
impl UnwindSafe for GetMergeOptionsOutputBuilder
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