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 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

      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 the ConflictMetadata.Builder avoiding the need to create one manually via ConflictMetadata.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to conflictMetadataList(List<ConflictMetadata>).

      Parameters:
      conflictMetadataList - a consumer that will call methods on ConflictMetadata.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.