Interface GetFolderResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CodeCommitResponse.Builder
,CopyableBuilder<GetFolderResponse.Builder,
,GetFolderResponse> SdkBuilder<GetFolderResponse.Builder,
,GetFolderResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetFolderResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe full commit ID used as a reference for the returned version of the folder content.files
(Collection<File> files) The list of files in the specified folder, if any.files
(Consumer<File.Builder>... files) The list of files in the specified folder, if any.The list of files in the specified folder, if any.folderPath
(String folderPath) The fully qualified path of the folder whose contents are returned.subFolders
(Collection<Folder> subFolders) The list of folders that exist under the specified folder, if any.subFolders
(Consumer<Folder.Builder>... subFolders) The list of folders that exist under the specified folder, if any.subFolders
(Folder... subFolders) The list of folders that exist under the specified folder, if any.subModules
(Collection<SubModule> subModules) The list of submodules in the specified folder, if any.subModules
(Consumer<SubModule.Builder>... subModules) The list of submodules in the specified folder, if any.subModules
(SubModule... subModules) The list of submodules in the specified folder, if any.symbolicLinks
(Collection<SymbolicLink> symbolicLinks) The list of symbolic links to other files and folders in the specified folder, if any.symbolicLinks
(Consumer<SymbolicLink.Builder>... symbolicLinks) The list of symbolic links to other files and folders in the specified folder, if any.symbolicLinks
(SymbolicLink... symbolicLinks) The list of symbolic links to other files and folders in the specified folder, if any.The full SHA-1 pointer of the tree information for the commit that contains the folder.Methods inherited from interface software.amazon.awssdk.services.codecommit.model.CodeCommitResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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
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
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.
- 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 theFolder.Builder
avoiding the need to create one manually viaFolder.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosubFolders(List<Folder>)
.- Parameters:
subFolders
- a consumer that will call methods onFolder.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 theFile.Builder
avoiding the need to create one manually viaFile.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofiles(List<File>)
.- Parameters:
files
- a consumer that will call methods onFile.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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 theSymbolicLink.Builder
avoiding the need to create one manually viaSymbolicLink.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosymbolicLinks(List<SymbolicLink>)
.- Parameters:
symbolicLinks
- a consumer that will call methods onSymbolicLink.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
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 theSubModule.Builder
avoiding the need to create one manually viaSubModule.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosubModules(List<SubModule>)
.- Parameters:
subModules
- a consumer that will call methods onSubModule.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-