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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetFolderResponse.BuildercommitId(String commitId)The full commit ID used as a reference for the returned version of the folder content.GetFolderResponse.Builderfiles(Collection<File> files)The list of files in the specified folder, if any.GetFolderResponse.Builderfiles(Consumer<File.Builder>... files)The list of files in the specified folder, if any.GetFolderResponse.Builderfiles(File... files)The list of files in the specified folder, if any.GetFolderResponse.BuilderfolderPath(String folderPath)The fully qualified path of the folder whose contents are returned.GetFolderResponse.BuildersubFolders(Collection<Folder> subFolders)The list of folders that exist under the specified folder, if any.GetFolderResponse.BuildersubFolders(Consumer<Folder.Builder>... subFolders)The list of folders that exist under the specified folder, if any.GetFolderResponse.BuildersubFolders(Folder... subFolders)The list of folders that exist under the specified folder, if any.GetFolderResponse.BuildersubModules(Collection<SubModule> subModules)The list of submodules in the specified folder, if any.GetFolderResponse.BuildersubModules(Consumer<SubModule.Builder>... subModules)The list of submodules in the specified folder, if any.GetFolderResponse.BuildersubModules(SubModule... subModules)The list of submodules in the specified folder, if any.GetFolderResponse.BuildersymbolicLinks(Collection<SymbolicLink> symbolicLinks)The list of symbolic links to other files and folders in the specified folder, if any.GetFolderResponse.BuildersymbolicLinks(Consumer<SymbolicLink.Builder>... symbolicLinks)The list of symbolic links to other files and folders in the specified folder, if any.GetFolderResponse.BuildersymbolicLinks(SymbolicLink... symbolicLinks)The list of symbolic links to other files and folders in the specified folder, if any.GetFolderResponse.BuildertreeId(String treeId)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 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 theFolder.Builderavoiding the need to create one manually viaFolder.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#subFolders(List.) - 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:
#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 theFile.Builderavoiding the need to create one manually viaFile.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#files(List.) - 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:
#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.
-
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 theSymbolicLink.Builderavoiding the need to create one manually viaSymbolicLink.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#symbolicLinks(List.) - 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:
#symbolicLinks(java.util.Collection)
-
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.
-
subModules
GetFolderResponse.Builder subModules(Consumer<SubModule.Builder>... subModules)
The list of submodules in the specified folder, if any.
This is a convenience method that creates an instance of theSubModule.Builderavoiding the need to create one manually viaSubModule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#subModules(List.) - 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:
#subModules(java.util.Collection)
-
-