Interface ConflictMetadata.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ConflictMetadata.Builder,ConflictMetadata>, SdkBuilder<ConflictMetadata.Builder,ConflictMetadata>, SdkPojo
Enclosing class:
ConflictMetadata

public static interface ConflictMetadata.Builder extends SdkPojo, CopyableBuilder<ConflictMetadata.Builder,ConflictMetadata>
  • Method Details

    • filePath

      ConflictMetadata.Builder filePath(String filePath)

      The path of the file that contains conflicts.

      Parameters:
      filePath - The path of the file that contains conflicts.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • fileSizes

      ConflictMetadata.Builder fileSizes(FileSizes fileSizes)

      The file sizes of the file in the source, destination, and base of the merge.

      Parameters:
      fileSizes - The file sizes of the file in the source, destination, and base of the merge.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • fileSizes

      default ConflictMetadata.Builder fileSizes(Consumer<FileSizes.Builder> fileSizes)

      The file sizes of the file in the source, destination, and base of the merge.

      This is a convenience method that creates an instance of the FileSizes.Builder avoiding the need to create one manually via FileSizes.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to fileSizes(FileSizes).

      Parameters:
      fileSizes - a consumer that will call methods on FileSizes.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • fileModes

      ConflictMetadata.Builder fileModes(FileModes fileModes)

      The file modes of the file in the source, destination, and base of the merge.

      Parameters:
      fileModes - The file modes of the file in the source, destination, and base of the merge.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • fileModes

      default ConflictMetadata.Builder fileModes(Consumer<FileModes.Builder> fileModes)

      The file modes of the file in the source, destination, and base of the merge.

      This is a convenience method that creates an instance of the FileModes.Builder avoiding the need to create one manually via FileModes.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to fileModes(FileModes).

      Parameters:
      fileModes - a consumer that will call methods on FileModes.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • objectTypes

      ConflictMetadata.Builder objectTypes(ObjectTypes objectTypes)

      Information about any object type conflicts in a merge operation.

      Parameters:
      objectTypes - Information about any object type conflicts in a merge operation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • objectTypes

      default ConflictMetadata.Builder objectTypes(Consumer<ObjectTypes.Builder> objectTypes)

      Information about any object type conflicts in a merge operation.

      This is a convenience method that creates an instance of the ObjectTypes.Builder avoiding the need to create one manually via ObjectTypes.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to objectTypes(ObjectTypes).

      Parameters:
      objectTypes - a consumer that will call methods on ObjectTypes.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • numberOfConflicts

      ConflictMetadata.Builder numberOfConflicts(Integer numberOfConflicts)

      The number of conflicts, including both hunk conflicts and metadata conflicts.

      Parameters:
      numberOfConflicts - The number of conflicts, including both hunk conflicts and metadata conflicts.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • isBinaryFile

      ConflictMetadata.Builder isBinaryFile(IsBinaryFile isBinaryFile)

      A boolean value (true or false) indicating whether the file is binary or textual in the source, destination, and base of the merge.

      Parameters:
      isBinaryFile - A boolean value (true or false) indicating whether the file is binary or textual in the source, destination, and base of the merge.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • isBinaryFile

      default ConflictMetadata.Builder isBinaryFile(Consumer<IsBinaryFile.Builder> isBinaryFile)

      A boolean value (true or false) indicating whether the file is binary or textual in the source, destination, and base of the merge.

      This is a convenience method that creates an instance of the IsBinaryFile.Builder avoiding the need to create one manually via IsBinaryFile.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to isBinaryFile(IsBinaryFile).

      Parameters:
      isBinaryFile - a consumer that will call methods on IsBinaryFile.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • contentConflict

      ConflictMetadata.Builder contentConflict(Boolean contentConflict)

      A boolean value indicating whether there are conflicts in the content of a file.

      Parameters:
      contentConflict - A boolean value indicating whether there are conflicts in the content of a file.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • fileModeConflict

      ConflictMetadata.Builder fileModeConflict(Boolean fileModeConflict)

      A boolean value indicating whether there are conflicts in the file mode of a file.

      Parameters:
      fileModeConflict - A boolean value indicating whether there are conflicts in the file mode of a file.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • objectTypeConflict

      ConflictMetadata.Builder objectTypeConflict(Boolean objectTypeConflict)

      A boolean value (true or false) indicating whether there are conflicts between the branches in the object type of a file, folder, or submodule.

      Parameters:
      objectTypeConflict - A boolean value (true or false) indicating whether there are conflicts between the branches in the object type of a file, folder, or submodule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • mergeOperations

      ConflictMetadata.Builder mergeOperations(MergeOperations mergeOperations)

      Whether an add, modify, or delete operation caused the conflict between the source and destination of the merge.

      Parameters:
      mergeOperations - Whether an add, modify, or delete operation caused the conflict between the source and destination of the merge.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • mergeOperations

      default ConflictMetadata.Builder mergeOperations(Consumer<MergeOperations.Builder> mergeOperations)

      Whether an add, modify, or delete operation caused the conflict between the source and destination of the merge.

      This is a convenience method that creates an instance of the MergeOperations.Builder avoiding the need to create one manually via MergeOperations.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to mergeOperations(MergeOperations).

      Parameters:
      mergeOperations - a consumer that will call methods on MergeOperations.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: