Struct aws_sdk_codecommit::model::conflict_metadata::Builder
source · [−]#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for ConflictMetadata
Implementations
sourceimpl Builder
impl Builder
sourcepub fn file_path(self, input: impl Into<String>) -> Self
pub fn file_path(self, input: impl Into<String>) -> Self
The path of the file that contains conflicts.
sourcepub fn set_file_path(self, input: Option<String>) -> Self
pub fn set_file_path(self, input: Option<String>) -> Self
The path of the file that contains conflicts.
sourcepub fn file_sizes(self, input: FileSizes) -> Self
pub fn file_sizes(self, input: FileSizes) -> Self
The file sizes of the file in the source, destination, and base of the merge.
sourcepub fn set_file_sizes(self, input: Option<FileSizes>) -> Self
pub fn set_file_sizes(self, input: Option<FileSizes>) -> Self
The file sizes of the file in the source, destination, and base of the merge.
sourcepub fn file_modes(self, input: FileModes) -> Self
pub fn file_modes(self, input: FileModes) -> Self
The file modes of the file in the source, destination, and base of the merge.
sourcepub fn set_file_modes(self, input: Option<FileModes>) -> Self
pub fn set_file_modes(self, input: Option<FileModes>) -> Self
The file modes of the file in the source, destination, and base of the merge.
sourcepub fn object_types(self, input: ObjectTypes) -> Self
pub fn object_types(self, input: ObjectTypes) -> Self
Information about any object type conflicts in a merge operation.
sourcepub fn set_object_types(self, input: Option<ObjectTypes>) -> Self
pub fn set_object_types(self, input: Option<ObjectTypes>) -> Self
Information about any object type conflicts in a merge operation.
sourcepub fn number_of_conflicts(self, input: i32) -> Self
pub fn number_of_conflicts(self, input: i32) -> Self
The number of conflicts, including both hunk conflicts and metadata conflicts.
sourcepub fn set_number_of_conflicts(self, input: Option<i32>) -> Self
pub fn set_number_of_conflicts(self, input: Option<i32>) -> Self
The number of conflicts, including both hunk conflicts and metadata conflicts.
sourcepub fn is_binary_file(self, input: IsBinaryFile) -> Self
pub fn is_binary_file(self, input: IsBinaryFile) -> Self
A boolean value (true or false) indicating whether the file is binary or textual in the source, destination, and base of the merge.
sourcepub fn set_is_binary_file(self, input: Option<IsBinaryFile>) -> Self
pub fn set_is_binary_file(self, input: Option<IsBinaryFile>) -> Self
A boolean value (true or false) indicating whether the file is binary or textual in the source, destination, and base of the merge.
sourcepub fn content_conflict(self, input: bool) -> Self
pub fn content_conflict(self, input: bool) -> Self
A boolean value indicating whether there are conflicts in the content of a file.
sourcepub fn set_content_conflict(self, input: Option<bool>) -> Self
pub fn set_content_conflict(self, input: Option<bool>) -> Self
A boolean value indicating whether there are conflicts in the content of a file.
sourcepub fn file_mode_conflict(self, input: bool) -> Self
pub fn file_mode_conflict(self, input: bool) -> Self
A boolean value indicating whether there are conflicts in the file mode of a file.
sourcepub fn set_file_mode_conflict(self, input: Option<bool>) -> Self
pub fn set_file_mode_conflict(self, input: Option<bool>) -> Self
A boolean value indicating whether there are conflicts in the file mode of a file.
sourcepub fn object_type_conflict(self, input: bool) -> Self
pub fn object_type_conflict(self, input: bool) -> Self
A boolean value (true or false) indicating whether there are conflicts between the branches in the object type of a file, folder, or submodule.
sourcepub fn set_object_type_conflict(self, input: Option<bool>) -> Self
pub fn set_object_type_conflict(self, input: Option<bool>) -> Self
A boolean value (true or false) indicating whether there are conflicts between the branches in the object type of a file, folder, or submodule.
sourcepub fn merge_operations(self, input: MergeOperations) -> Self
pub fn merge_operations(self, input: MergeOperations) -> Self
Whether an add, modify, or delete operation caused the conflict between the source and destination of the merge.
sourcepub fn set_merge_operations(self, input: Option<MergeOperations>) -> Self
pub fn set_merge_operations(self, input: Option<MergeOperations>) -> Self
Whether an add, modify, or delete operation caused the conflict between the source and destination of the merge.
sourcepub fn build(self) -> ConflictMetadata
pub fn build(self) -> ConflictMetadata
Consumes the builder and constructs a ConflictMetadata
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more