Interface ConflictMetadata.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ConflictMetadata.Builder,
,ConflictMetadata> SdkBuilder<ConflictMetadata.Builder,
,ConflictMetadata> SdkPojo
- Enclosing class:
ConflictMetadata
-
Method Summary
Modifier and TypeMethodDescriptioncontentConflict
(Boolean contentConflict) A boolean value indicating whether there are conflicts in the content of a file.fileModeConflict
(Boolean fileModeConflict) A boolean value indicating whether there are conflicts in the file mode of a file.default ConflictMetadata.Builder
fileModes
(Consumer<FileModes.Builder> fileModes) The file modes of the file in the source, destination, and base of the merge.The file modes of the file in the source, destination, and base of the merge.The path of the file that contains conflicts.default ConflictMetadata.Builder
fileSizes
(Consumer<FileSizes.Builder> fileSizes) The file sizes of the file in the source, destination, and base of the merge.The file sizes of the file in the source, destination, and base of the merge.default ConflictMetadata.Builder
isBinaryFile
(Consumer<IsBinaryFile.Builder> isBinaryFile) A boolean value (true or false) indicating whether the file is binary or textual in the source, destination, and base of the merge.isBinaryFile
(IsBinaryFile isBinaryFile) A boolean value (true or false) indicating whether the file is binary or textual in the source, destination, and base of the merge.default ConflictMetadata.Builder
mergeOperations
(Consumer<MergeOperations.Builder> mergeOperations) Whether an add, modify, or delete operation caused the conflict between the source and destination of the merge.mergeOperations
(MergeOperations mergeOperations) Whether an add, modify, or delete operation caused the conflict between the source and destination of the merge.numberOfConflicts
(Integer numberOfConflicts) The number of conflicts, including both hunk conflicts and metadata conflicts.objectTypeConflict
(Boolean objectTypeConflict) A boolean value (true or false) indicating whether there are conflicts between the branches in the object type of a file, folder, or submodule.default ConflictMetadata.Builder
objectTypes
(Consumer<ObjectTypes.Builder> objectTypes) Information about any object type conflicts in a merge operation.objectTypes
(ObjectTypes objectTypes) Information about any object type conflicts in a merge operation.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
filePath
The path of the file that contains conflicts.
- Parameters:
filePath
- The path of the file that contains conflicts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileSizes
The file sizes of the file in the source, destination, and base of the merge.
- Parameters:
fileSizes
- The file sizes of the file in the source, destination, and base of the merge.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileSizes
The file sizes of the file in the source, destination, and base of the merge.
This is a convenience method that creates an instance of theFileSizes.Builder
avoiding the need to create one manually viaFileSizes.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofileSizes(FileSizes)
.- Parameters:
fileSizes
- a consumer that will call methods onFileSizes.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
fileModes
The file modes of the file in the source, destination, and base of the merge.
- Parameters:
fileModes
- The file modes of the file in the source, destination, and base of the merge.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileModes
The file modes of the file in the source, destination, and base of the merge.
This is a convenience method that creates an instance of theFileModes.Builder
avoiding the need to create one manually viaFileModes.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofileModes(FileModes)
.- Parameters:
fileModes
- a consumer that will call methods onFileModes.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
objectTypes
Information about any object type conflicts in a merge operation.
- Parameters:
objectTypes
- Information about any object type conflicts in a merge operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
objectTypes
Information about any object type conflicts in a merge operation.
This is a convenience method that creates an instance of theObjectTypes.Builder
avoiding the need to create one manually viaObjectTypes.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toobjectTypes(ObjectTypes)
.- Parameters:
objectTypes
- a consumer that will call methods onObjectTypes.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
numberOfConflicts
The number of conflicts, including both hunk conflicts and metadata conflicts.
- Parameters:
numberOfConflicts
- The number of conflicts, including both hunk conflicts and metadata conflicts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isBinaryFile
A boolean value (true or false) indicating whether the file is binary or textual in the source, destination, and base of the merge.
- Parameters:
isBinaryFile
- A boolean value (true or false) indicating whether the file is binary or textual in the source, destination, and base of the merge.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isBinaryFile
A boolean value (true or false) indicating whether the file is binary or textual in the source, destination, and base of the merge.
This is a convenience method that creates an instance of theIsBinaryFile.Builder
avoiding the need to create one manually viaIsBinaryFile.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toisBinaryFile(IsBinaryFile)
.- Parameters:
isBinaryFile
- a consumer that will call methods onIsBinaryFile.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
contentConflict
A boolean value indicating whether there are conflicts in the content of a file.
- Parameters:
contentConflict
- A boolean value indicating whether there are conflicts in the content of a file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileModeConflict
A boolean value indicating whether there are conflicts in the file mode of a file.
- Parameters:
fileModeConflict
- A boolean value indicating whether there are conflicts in the file mode of a file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
objectTypeConflict
A boolean value (true or false) indicating whether there are conflicts between the branches in the object type of a file, folder, or submodule.
- Parameters:
objectTypeConflict
- A boolean value (true or false) indicating whether there are conflicts between the branches in the object type of a file, folder, or submodule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mergeOperations
Whether an add, modify, or delete operation caused the conflict between the source and destination of the merge.
- Parameters:
mergeOperations
- Whether an add, modify, or delete operation caused the conflict between the source and destination of the merge.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mergeOperations
Whether an add, modify, or delete operation caused the conflict between the source and destination of the merge.
This is a convenience method that creates an instance of theMergeOperations.Builder
avoiding the need to create one manually viaMergeOperations.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomergeOperations(MergeOperations)
.- Parameters:
mergeOperations
- a consumer that will call methods onMergeOperations.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-