Interface GetMergeConflictsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CodeCommitResponse.Builder
,CopyableBuilder<GetMergeConflictsResponse.Builder,
,GetMergeConflictsResponse> SdkBuilder<GetMergeConflictsResponse.Builder,
,GetMergeConflictsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetMergeConflictsResponse
-
Method Summary
Modifier and TypeMethodDescriptionbaseCommitId
(String baseCommitId) The commit ID of the merge base.conflictMetadataList
(Collection<ConflictMetadata> conflictMetadataList) A list of metadata for any conflicting files.conflictMetadataList
(Consumer<ConflictMetadata.Builder>... conflictMetadataList) A list of metadata for any conflicting files.conflictMetadataList
(ConflictMetadata... conflictMetadataList) A list of metadata for any conflicting files.destinationCommitId
(String destinationCommitId) The commit ID of the destination commit specifier that was used in the merge evaluation.A Boolean value that indicates whether the code is mergeable by the specified merge option.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
-
mergeable
A Boolean value that indicates whether the code is mergeable by the specified merge option.
- Parameters:
mergeable
- A Boolean value that indicates whether the code is mergeable by the specified merge option.- 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.
-
conflictMetadataList
GetMergeConflictsResponse.Builder conflictMetadataList(Collection<ConflictMetadata> conflictMetadataList) A list of metadata for any conflicting files. If the specified merge strategy is FAST_FORWARD_MERGE, this list is always empty.
- Parameters:
conflictMetadataList
- A list of metadata for any conflicting files. If the specified merge strategy is FAST_FORWARD_MERGE, this list is always empty.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conflictMetadataList
A list of metadata for any conflicting files. If the specified merge strategy is FAST_FORWARD_MERGE, this list is always empty.
- Parameters:
conflictMetadataList
- A list of metadata for any conflicting files. If the specified merge strategy is FAST_FORWARD_MERGE, this list is always empty.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conflictMetadataList
GetMergeConflictsResponse.Builder conflictMetadataList(Consumer<ConflictMetadata.Builder>... conflictMetadataList) A list of metadata for any conflicting files. If the specified merge strategy is FAST_FORWARD_MERGE, this list is always empty.
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 toconflictMetadataList(List<ConflictMetadata>)
.- Parameters:
conflictMetadataList
- 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:
-
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.
-