Interface CreateCommitResponse.Builder

    • Method Detail

      • commitId

        CreateCommitResponse.Builder commitId​(String commitId)

        The full commit ID of the commit that contains your committed file changes.

        Parameters:
        commitId - The full commit ID of the commit that contains your committed file changes.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • treeId

        CreateCommitResponse.Builder treeId​(String treeId)

        The full SHA-1 pointer of the tree information for the commit that contains the commited file changes.

        Parameters:
        treeId - The full SHA-1 pointer of the tree information for the commit that contains the commited file changes.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • filesAdded

        CreateCommitResponse.Builder filesAdded​(Collection<FileMetadata> filesAdded)

        The files added as part of the committed file changes.

        Parameters:
        filesAdded - The files added as part of the committed file changes.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • filesAdded

        CreateCommitResponse.Builder filesAdded​(FileMetadata... filesAdded)

        The files added as part of the committed file changes.

        Parameters:
        filesAdded - The files added as part of the committed file changes.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • filesUpdated

        CreateCommitResponse.Builder filesUpdated​(Collection<FileMetadata> filesUpdated)

        The files updated as part of the commited file changes.

        Parameters:
        filesUpdated - The files updated as part of the commited file changes.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • filesUpdated

        CreateCommitResponse.Builder filesUpdated​(FileMetadata... filesUpdated)

        The files updated as part of the commited file changes.

        Parameters:
        filesUpdated - The files updated as part of the commited file changes.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • filesDeleted

        CreateCommitResponse.Builder filesDeleted​(Collection<FileMetadata> filesDeleted)

        The files deleted as part of the committed file changes.

        Parameters:
        filesDeleted - The files deleted as part of the committed file changes.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • filesDeleted

        CreateCommitResponse.Builder filesDeleted​(FileMetadata... filesDeleted)

        The files deleted as part of the committed file changes.

        Parameters:
        filesDeleted - The files deleted as part of the committed file changes.
        Returns:
        Returns a reference to this object so that method calls can be chained together.