Interface GetMergeConflictsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodeCommitResponse.Builder,CopyableBuilder<GetMergeConflictsResponse.Builder,GetMergeConflictsResponse>,SdkBuilder<GetMergeConflictsResponse.Builder,GetMergeConflictsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetMergeConflictsResponse
public static interface GetMergeConflictsResponse.Builder extends CodeCommitResponse.Builder, SdkPojo, CopyableBuilder<GetMergeConflictsResponse.Builder,GetMergeConflictsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetMergeConflictsResponse.BuilderbaseCommitId(String baseCommitId)The commit ID of the merge base.GetMergeConflictsResponse.BuilderconflictMetadataList(Collection<ConflictMetadata> conflictMetadataList)A list of metadata for any conflicting files.GetMergeConflictsResponse.BuilderconflictMetadataList(Consumer<ConflictMetadata.Builder>... conflictMetadataList)A list of metadata for any conflicting files.GetMergeConflictsResponse.BuilderconflictMetadataList(ConflictMetadata... conflictMetadataList)A list of metadata for any conflicting files.GetMergeConflictsResponse.BuilderdestinationCommitId(String destinationCommitId)The commit ID of the destination commit specifier that was used in the merge evaluation.GetMergeConflictsResponse.Buildermergeable(Boolean mergeable)A Boolean value that indicates whether the code is mergeable by the specified merge option.GetMergeConflictsResponse.BuildernextToken(String nextToken)An enumeration token that can be used in a request to return the next batch of the results.GetMergeConflictsResponse.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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
mergeable
GetMergeConflictsResponse.Builder mergeable(Boolean 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
GetMergeConflictsResponse.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
GetMergeConflictsResponse.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
GetMergeConflictsResponse.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.
-
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
GetMergeConflictsResponse.Builder conflictMetadataList(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
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.Builderavoiding the need to create one manually viaConflictMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#conflictMetadataList(List.) - 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:
#conflictMetadataList(java.util.Collection)
-
nextToken
GetMergeConflictsResponse.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.
-
-