Interface FileVersion.Builder

    • Method Detail

      • commit

        FileVersion.Builder commit​(Commit commit)
        Sets the value of the Commit property for this object.
        Parameters:
        commit - The new value for the Commit property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • blobId

        FileVersion.Builder blobId​(String blobId)

        The blob ID of the object that represents the content of the file in this version.

        Parameters:
        blobId - The blob ID of the object that represents the content of the file in this version.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • path

        FileVersion.Builder path​(String path)

        The name and path of the file at which this blob is indexed which contains the data for this version of the file. This value will vary between file versions if a file is renamed or if its path changes.

        Parameters:
        path - The name and path of the file at which this blob is indexed which contains the data for this version of the file. This value will vary between file versions if a file is renamed or if its path changes.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • revisionChildren

        FileVersion.Builder revisionChildren​(Collection<String> revisionChildren)

        An array of commit IDs that contain more recent versions of this file. If there are no additional versions of the file, this array will be empty.

        Parameters:
        revisionChildren - An array of commit IDs that contain more recent versions of this file. If there are no additional versions of the file, this array will be empty.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • revisionChildren

        FileVersion.Builder revisionChildren​(String... revisionChildren)

        An array of commit IDs that contain more recent versions of this file. If there are no additional versions of the file, this array will be empty.

        Parameters:
        revisionChildren - An array of commit IDs that contain more recent versions of this file. If there are no additional versions of the file, this array will be empty.
        Returns:
        Returns a reference to this object so that method calls can be chained together.