Struct aws_sdk_codecommit::types::builders::ConflictMetadataBuilder
source · #[non_exhaustive]pub struct ConflictMetadataBuilder { /* private fields */ }Expand description
A builder for ConflictMetadata.
Implementations§
source§impl ConflictMetadataBuilder
impl ConflictMetadataBuilder
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 get_file_path(&self) -> &Option<String>
pub fn get_file_path(&self) -> &Option<String>
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 get_file_sizes(&self) -> &Option<FileSizes>
pub fn get_file_sizes(&self) -> &Option<FileSizes>
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 get_file_modes(&self) -> &Option<FileModes>
pub fn get_file_modes(&self) -> &Option<FileModes>
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 get_object_types(&self) -> &Option<ObjectTypes>
pub fn get_object_types(&self) -> &Option<ObjectTypes>
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 get_number_of_conflicts(&self) -> &Option<i32>
pub fn get_number_of_conflicts(&self) -> &Option<i32>
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 get_is_binary_file(&self) -> &Option<IsBinaryFile>
pub fn get_is_binary_file(&self) -> &Option<IsBinaryFile>
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 get_content_conflict(&self) -> &Option<bool>
pub fn get_content_conflict(&self) -> &Option<bool>
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 get_file_mode_conflict(&self) -> &Option<bool>
pub fn get_file_mode_conflict(&self) -> &Option<bool>
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 get_object_type_conflict(&self) -> &Option<bool>
pub fn get_object_type_conflict(&self) -> &Option<bool>
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 get_merge_operations(&self) -> &Option<MergeOperations>
pub fn get_merge_operations(&self) -> &Option<MergeOperations>
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§
source§impl Clone for ConflictMetadataBuilder
impl Clone for ConflictMetadataBuilder
source§fn clone(&self) -> ConflictMetadataBuilder
fn clone(&self) -> ConflictMetadataBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ConflictMetadataBuilder
impl Debug for ConflictMetadataBuilder
source§impl Default for ConflictMetadataBuilder
impl Default for ConflictMetadataBuilder
source§fn default() -> ConflictMetadataBuilder
fn default() -> ConflictMetadataBuilder
source§impl PartialEq for ConflictMetadataBuilder
impl PartialEq for ConflictMetadataBuilder
source§fn eq(&self, other: &ConflictMetadataBuilder) -> bool
fn eq(&self, other: &ConflictMetadataBuilder) -> bool
self and other values to be equal, and is used
by ==.