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 ==.