Interface DescribeMergeConflictsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CodeCommitResponse.Builder
,CopyableBuilder<DescribeMergeConflictsResponse.Builder,
,DescribeMergeConflictsResponse> SdkBuilder<DescribeMergeConflictsResponse.Builder,
,DescribeMergeConflictsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeMergeConflictsResponse
-
Method Summary
Modifier and TypeMethodDescriptionbaseCommitId
(String baseCommitId) The commit ID of the merge base.conflictMetadata
(Consumer<ConflictMetadata.Builder> conflictMetadata) Contains metadata about the conflicts found in the merge.conflictMetadata
(ConflictMetadata conflictMetadata) Contains metadata about the conflicts found in the merge.destinationCommitId
(String destinationCommitId) The commit ID of the destination commit specifier that was used in the merge evaluation.mergeHunks
(Collection<MergeHunk> mergeHunks) A list of merge hunks of the differences between the files or lines.mergeHunks
(Consumer<MergeHunk.Builder>... mergeHunks) A list of merge hunks of the differences between the files or lines.mergeHunks
(MergeHunk... mergeHunks) A list of merge hunks of the differences between the files or lines.An enumeration token that can be used in a request to return the next batch of the results.sourceCommitId
(String sourceCommitId) The commit ID of the source commit specifier that was used in the merge evaluation.Methods inherited from interface software.amazon.awssdk.services.codecommit.model.CodeCommitResponse.Builder
build, responseMetadata, responseMetadata
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
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
conflictMetadata
Contains metadata about the conflicts found in the merge.
- Parameters:
conflictMetadata
- Contains metadata about the conflicts found in the merge.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conflictMetadata
default DescribeMergeConflictsResponse.Builder conflictMetadata(Consumer<ConflictMetadata.Builder> conflictMetadata) Contains metadata about the conflicts found in the merge.
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 merge hunks of the differences between the files or lines.
- Parameters:
mergeHunks
- A list of merge hunks of the differences between the files or lines.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mergeHunks
A list of merge hunks of the differences between the files or lines.
- Parameters:
mergeHunks
- A list of merge hunks of the differences between the files or lines.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mergeHunks
A list of merge hunks of the differences between the files or lines.
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:
-
nextToken
An enumeration token that can be used in a request to return the next batch of the results.
- Parameters:
nextToken
- An enumeration token that can be used in a request to return the next batch of the results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationCommitId
The commit ID of the destination commit specifier that was used in the merge evaluation.
- Parameters:
destinationCommitId
- The commit ID of the destination commit specifier that was used in the merge evaluation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceCommitId
The commit ID of the source commit specifier that was used in the merge evaluation.
- Parameters:
sourceCommitId
- The commit ID of the source commit specifier that was used in the merge evaluation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
baseCommitId
The commit ID of the merge base.
- Parameters:
baseCommitId
- The commit ID of the merge base.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-