Interface GetFolderResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CodeCommitResponse.Builder, CopyableBuilder<GetFolderResponse.Builder,GetFolderResponse>, SdkBuilder<GetFolderResponse.Builder,GetFolderResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
GetFolderResponse

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

    • 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

      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

      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<Folder>).

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

      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

      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<File>).

      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:
    • 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.
    • symbolicLinks

      GetFolderResponse.Builder symbolicLinks(Consumer<SymbolicLink.Builder>... symbolicLinks)

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

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

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

      Parameters:
      symbolicLinks - a consumer that will call methods on SymbolicLink.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.
    • subModules

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

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

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

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