Interface GetFolderResponse.Builder

    • Method Detail

      • commitId

        GetFolderResponse.Builder commitId​(String commitId)

        The full commit ID used as a reference for the returned version of the folder content.

        Parameters:
        commitId - The full commit ID used as a reference for the returned version of the folder content.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • folderPath

        GetFolderResponse.Builder folderPath​(String folderPath)

        The fully qualified path of the folder whose contents are returned.

        Parameters:
        folderPath - The fully qualified path of the folder whose contents are returned.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • treeId

        GetFolderResponse.Builder treeId​(String treeId)

        The full SHA-1 pointer of the tree information for the commit that contains the folder.

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

        GetFolderResponse.Builder subFolders​(Collection<Folder> subFolders)

        The list of folders that exist under the specified folder, if any.

        Parameters:
        subFolders - The list of folders that exist under the specified folder, if any.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subFolders

        GetFolderResponse.Builder subFolders​(Folder... subFolders)

        The list of folders that exist under the specified folder, if any.

        Parameters:
        subFolders - The list of folders that exist under the specified folder, if any.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subFolders

        GetFolderResponse.Builder subFolders​(Consumer<Folder.Builder>... subFolders)

        The list of folders that exist under the specified folder, if any.

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

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #subFolders(List).

        Parameters:
        subFolders - a consumer that will call methods on Folder.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #subFolders(java.util.Collection)
      • files

        GetFolderResponse.Builder files​(Collection<File> files)

        The list of files in the specified folder, if any.

        Parameters:
        files - The list of files in the specified folder, if any.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • files

        GetFolderResponse.Builder files​(File... files)

        The list of files in the specified folder, if any.

        Parameters:
        files - The list of files in the specified folder, if any.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • files

        GetFolderResponse.Builder files​(Consumer<File.Builder>... files)

        The list of files in the specified folder, if any.

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

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #files(List).

        Parameters:
        files - a consumer that will call methods on File.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #files(java.util.Collection)
      • symbolicLinks

        GetFolderResponse.Builder symbolicLinks​(Collection<SymbolicLink> symbolicLinks)

        The list of symbolic links to other files and folders in the specified folder, if any.

        Parameters:
        symbolicLinks - The list of symbolic links to other files and folders in the specified folder, if any.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • symbolicLinks

        GetFolderResponse.Builder symbolicLinks​(SymbolicLink... symbolicLinks)

        The list of symbolic links to other files and folders in the specified folder, if any.

        Parameters:
        symbolicLinks - The list of symbolic links to other files and folders in the specified folder, if any.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subModules

        GetFolderResponse.Builder subModules​(Collection<SubModule> subModules)

        The list of submodules in the specified folder, if any.

        Parameters:
        subModules - The list of submodules in the specified folder, if any.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subModules

        GetFolderResponse.Builder subModules​(SubModule... subModules)

        The list of submodules in the specified folder, if any.

        Parameters:
        subModules - The list of submodules in the specified folder, if any.
        Returns:
        Returns a reference to this object so that method calls can be chained together.