Interface BatchDescribeMergeConflictsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CodeCommitResponse.Builder
,CopyableBuilder<BatchDescribeMergeConflictsResponse.Builder,
,BatchDescribeMergeConflictsResponse> SdkBuilder<BatchDescribeMergeConflictsResponse.Builder,
,BatchDescribeMergeConflictsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
BatchDescribeMergeConflictsResponse
-
Method Summary
Modifier and TypeMethodDescriptionbaseCommitId
(String baseCommitId) The commit ID of the merge base.conflicts
(Collection<Conflict> conflicts) A list of conflicts for each file, including the conflict metadata and the hunks of the differences between the files.conflicts
(Consumer<Conflict.Builder>... conflicts) A list of conflicts for each file, including the conflict metadata and the hunks of the differences between the files.A list of conflicts for each file, including the conflict metadata and the hunks of the differences between the files.destinationCommitId
(String destinationCommitId) The commit ID of the destination commit specifier that was used in the merge evaluation.A list of any errors returned while describing the merge conflicts for each file.errors
(Consumer<BatchDescribeMergeConflictsError.Builder>... errors) A list of any errors returned while describing the merge conflicts for each file.errors
(BatchDescribeMergeConflictsError... errors) A list of any errors returned while describing the merge conflicts for each file.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
-
conflicts
A list of conflicts for each file, including the conflict metadata and the hunks of the differences between the files.
- Parameters:
conflicts
- A list of conflicts for each file, including the conflict metadata and the hunks of the differences between the files.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conflicts
A list of conflicts for each file, including the conflict metadata and the hunks of the differences between the files.
- Parameters:
conflicts
- A list of conflicts for each file, including the conflict metadata and the hunks of the differences between the files.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conflicts
A list of conflicts for each file, including the conflict metadata and the hunks of the differences between the files.
This is a convenience method that creates an instance of theConflict.Builder
avoiding the need to create one manually viaConflict.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconflicts(List<Conflict>)
.- Parameters:
conflicts
- a consumer that will call methods onConflict.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.
-
errors
BatchDescribeMergeConflictsResponse.Builder errors(Collection<BatchDescribeMergeConflictsError> errors) A list of any errors returned while describing the merge conflicts for each file.
- Parameters:
errors
- A list of any errors returned while describing the merge conflicts for each file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
A list of any errors returned while describing the merge conflicts for each file.
- Parameters:
errors
- A list of any errors returned while describing the merge conflicts for each file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
BatchDescribeMergeConflictsResponse.Builder errors(Consumer<BatchDescribeMergeConflictsError.Builder>... errors) A list of any errors returned while describing the merge conflicts for each file.
This is a convenience method that creates an instance of theBatchDescribeMergeConflictsError.Builder
avoiding the need to create one manually viaBatchDescribeMergeConflictsError.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerrors(List<BatchDescribeMergeConflictsError>)
.- Parameters:
errors
- a consumer that will call methods onBatchDescribeMergeConflictsError.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-