public static interface Conflict.Builder extends SdkPojo, CopyableBuilder<Conflict.Builder,Conflict>
| Modifier and Type | Method and Description |
|---|---|
Conflict.Builder |
conflictMetadata(ConflictMetadata conflictMetadata)
Metadata about a conflict in a merge operation.
|
default Conflict.Builder |
conflictMetadata(Consumer<ConflictMetadata.Builder> conflictMetadata)
Metadata about a conflict in a merge operation.
|
Conflict.Builder |
mergeHunks(Collection<MergeHunk> mergeHunks)
A list of hunks that contain the differences between files or lines causing the conflict.
|
Conflict.Builder |
mergeHunks(Consumer<MergeHunk.Builder>... mergeHunks)
A list of hunks that contain the differences between files or lines causing the conflict.
|
Conflict.Builder |
mergeHunks(MergeHunk... mergeHunks)
A list of hunks that contain the differences between files or lines causing the conflict.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildConflict.Builder conflictMetadata(ConflictMetadata conflictMetadata)
Metadata about a conflict in a merge operation.
conflictMetadata - Metadata about a conflict in a merge operation.default Conflict.Builder conflictMetadata(Consumer<ConflictMetadata.Builder> conflictMetadata)
Metadata about a conflict in a merge operation.
This is a convenience method that creates an instance of theConflictMetadata.Builder avoiding the
need to create one manually via ConflictMetadata.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to conflictMetadata(ConflictMetadata).
conflictMetadata - a consumer that will call methods on ConflictMetadata.BuilderconflictMetadata(ConflictMetadata)Conflict.Builder mergeHunks(Collection<MergeHunk> mergeHunks)
A list of hunks that contain the differences between files or lines causing the conflict.
mergeHunks - A list of hunks that contain the differences between files or lines causing the conflict.Conflict.Builder mergeHunks(MergeHunk... mergeHunks)
A list of hunks that contain the differences between files or lines causing the conflict.
mergeHunks - A list of hunks that contain the differences between files or lines causing the conflict.Conflict.Builder mergeHunks(Consumer<MergeHunk.Builder>... mergeHunks)
A list of hunks that contain the differences between files or lines causing the conflict.
This is a convenience method that creates an instance of theMergeHunk.Builder avoiding the need to create one
manually via MergeHunk.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #mergeHunks(List.
mergeHunks - a consumer that will call methods on
MergeHunk.Builder#mergeHunks(java.util.Collection) Copyright © 2023. All rights reserved.