Interface BatchDescribeMergeConflictsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodeCommitResponse.Builder,CopyableBuilder<BatchDescribeMergeConflictsResponse.Builder,BatchDescribeMergeConflictsResponse>,SdkBuilder<BatchDescribeMergeConflictsResponse.Builder,BatchDescribeMergeConflictsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- BatchDescribeMergeConflictsResponse
public static interface BatchDescribeMergeConflictsResponse.Builder extends CodeCommitResponse.Builder, SdkPojo, CopyableBuilder<BatchDescribeMergeConflictsResponse.Builder,BatchDescribeMergeConflictsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchDescribeMergeConflictsResponse.BuilderbaseCommitId(String baseCommitId)The commit ID of the merge base.BatchDescribeMergeConflictsResponse.Builderconflicts(Collection<Conflict> conflicts)A list of conflicts for each file, including the conflict metadata and the hunks of the differences between the files.BatchDescribeMergeConflictsResponse.Builderconflicts(Consumer<Conflict.Builder>... conflicts)A list of conflicts for each file, including the conflict metadata and the hunks of the differences between the files.BatchDescribeMergeConflictsResponse.Builderconflicts(Conflict... conflicts)A list of conflicts for each file, including the conflict metadata and the hunks of the differences between the files.BatchDescribeMergeConflictsResponse.BuilderdestinationCommitId(String destinationCommitId)The commit ID of the destination commit specifier that was used in the merge evaluation.BatchDescribeMergeConflictsResponse.Buildererrors(Collection<BatchDescribeMergeConflictsError> errors)A list of any errors returned while describing the merge conflicts for each file.BatchDescribeMergeConflictsResponse.Buildererrors(Consumer<BatchDescribeMergeConflictsError.Builder>... errors)A list of any errors returned while describing the merge conflicts for each file.BatchDescribeMergeConflictsResponse.Buildererrors(BatchDescribeMergeConflictsError... errors)A list of any errors returned while describing the merge conflicts for each file.BatchDescribeMergeConflictsResponse.BuildernextToken(String nextToken)An enumeration token that can be used in a request to return the next batch of the results.BatchDescribeMergeConflictsResponse.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
-
conflicts
BatchDescribeMergeConflictsResponse.Builder conflicts(Collection<Conflict> 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
BatchDescribeMergeConflictsResponse.Builder conflicts(Conflict... 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
BatchDescribeMergeConflictsResponse.Builder 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.
This is a convenience method that creates an instance of theConflict.Builderavoiding the need to create one manually viaConflict.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#conflicts(List.) - 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:
#conflicts(java.util.Collection)
-
nextToken
BatchDescribeMergeConflictsResponse.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.
-
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
BatchDescribeMergeConflictsResponse.Builder errors(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
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.Builderavoiding the need to create one manually viaBatchDescribeMergeConflictsError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#errors(List.) - 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:
#errors(java.util.Collection)
-
destinationCommitId
BatchDescribeMergeConflictsResponse.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
BatchDescribeMergeConflictsResponse.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
BatchDescribeMergeConflictsResponse.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.
-
-