Interface Conflict.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Conflict.Builder,
,Conflict> SdkBuilder<Conflict.Builder,
,Conflict> SdkPojo
- Enclosing class:
Conflict
public static interface Conflict.Builder
extends SdkPojo, CopyableBuilder<Conflict.Builder,Conflict>
-
Method Summary
Modifier and TypeMethodDescriptiondefault Conflict.Builder
conflictMetadata
(Consumer<ConflictMetadata.Builder> conflictMetadata) Metadata about a conflict in a merge operation.conflictMetadata
(ConflictMetadata conflictMetadata) Metadata about a conflict in a merge operation.mergeHunks
(Collection<MergeHunk> mergeHunks) A list of hunks that contain the differences between files or lines causing the conflict.mergeHunks
(Consumer<MergeHunk.Builder>... mergeHunks) A list of hunks that contain the differences between files or lines causing the conflict.mergeHunks
(MergeHunk... mergeHunks) A list of hunks that contain the differences between files or lines causing the conflict.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
-
conflictMetadata
Metadata about a conflict in a merge operation.
- Parameters:
conflictMetadata
- Metadata about a conflict in a merge operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaConflictMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconflictMetadata(ConflictMetadata)
.- Parameters:
conflictMetadata
- a consumer that will call methods onConflictMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
mergeHunks
A list of hunks that contain the differences between files or lines causing the conflict.
- Parameters:
mergeHunks
- A list of hunks that contain the differences between files or lines causing the conflict.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mergeHunks
A list of hunks that contain the differences between files or lines causing the conflict.
- Parameters:
mergeHunks
- A list of hunks that contain the differences between files or lines causing the conflict.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaMergeHunk.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomergeHunks(List<MergeHunk>)
.- Parameters:
mergeHunks
- a consumer that will call methods onMergeHunk.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-