Interface DescribeMergeConflictsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodeCommitResponse.Builder,CopyableBuilder<DescribeMergeConflictsResponse.Builder,DescribeMergeConflictsResponse>,SdkBuilder<DescribeMergeConflictsResponse.Builder,DescribeMergeConflictsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeMergeConflictsResponse
public static interface DescribeMergeConflictsResponse.Builder extends CodeCommitResponse.Builder, SdkPojo, CopyableBuilder<DescribeMergeConflictsResponse.Builder,DescribeMergeConflictsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DescribeMergeConflictsResponse.BuilderbaseCommitId(String baseCommitId)The commit ID of the merge base.default DescribeMergeConflictsResponse.BuilderconflictMetadata(Consumer<ConflictMetadata.Builder> conflictMetadata)Contains metadata about the conflicts found in the merge.DescribeMergeConflictsResponse.BuilderconflictMetadata(ConflictMetadata conflictMetadata)Contains metadata about the conflicts found in the merge.DescribeMergeConflictsResponse.BuilderdestinationCommitId(String destinationCommitId)The commit ID of the destination commit specifier that was used in the merge evaluation.DescribeMergeConflictsResponse.BuildermergeHunks(Collection<MergeHunk> mergeHunks)A list of merge hunks of the differences between the files or lines.DescribeMergeConflictsResponse.BuildermergeHunks(Consumer<MergeHunk.Builder>... mergeHunks)A list of merge hunks of the differences between the files or lines.DescribeMergeConflictsResponse.BuildermergeHunks(MergeHunk... mergeHunks)A list of merge hunks of the differences between the files or lines.DescribeMergeConflictsResponse.BuildernextToken(String nextToken)An enumeration token that can be used in a request to return the next batch of the results.DescribeMergeConflictsResponse.BuildersourceCommitId(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 Detail
-
conflictMetadata
DescribeMergeConflictsResponse.Builder conflictMetadata(ConflictMetadata 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.Builderavoiding the need to create one manually viaConflictMetadata.builder().When the
Consumercompletes,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:
conflictMetadata(ConflictMetadata)
-
mergeHunks
DescribeMergeConflictsResponse.Builder mergeHunks(Collection<MergeHunk> 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
DescribeMergeConflictsResponse.Builder mergeHunks(MergeHunk... 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
DescribeMergeConflictsResponse.Builder mergeHunks(Consumer<MergeHunk.Builder>... 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.Builderavoiding the need to create one manually viaMergeHunk.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#mergeHunks(List.) - 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:
#mergeHunks(java.util.Collection)
-
nextToken
DescribeMergeConflictsResponse.Builder nextToken(String 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
DescribeMergeConflictsResponse.Builder destinationCommitId(String 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
DescribeMergeConflictsResponse.Builder sourceCommitId(String 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
DescribeMergeConflictsResponse.Builder baseCommitId(String 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.
-
-