Interface GetFolderResponse.Builder
- All Superinterfaces:
AmplifyGen3Response.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<GetFolderResponse.Builder,,GetFolderResponse> SdkBuilder<GetFolderResponse.Builder,,GetFolderResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetFolderResponse
@Mutable
@NotThreadSafe
public static interface GetFolderResponse.Builder
extends AmplifyGen3Response.Builder, SdkPojo, CopyableBuilder<GetFolderResponse.Builder,GetFolderResponse>
-
Method Summary
Modifier and TypeMethodDescriptionfiles(Collection<FileReference> files) The files directly inside the folder.files(Consumer<FileReference.Builder>... files) The files directly inside the folder.files(FileReference... files) The files directly inside the folder.folderPath(String folderPath) The path of the folder that was listed.subFolders(Collection<FolderReference> subFolders) The folders directly inside the folder.subFolders(Consumer<FolderReference.Builder>... subFolders) The folders directly inside the folder.subFolders(FolderReference... subFolders) The folders directly inside the folder.Methods inherited from interface software.amazon.awssdk.services.amplifygen3.model.AmplifyGen3Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
folderPath
The path of the folder that was listed.
- Parameters:
folderPath- The path of the folder that was listed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subFolders
The folders directly inside the folder.
- Parameters:
subFolders- The folders directly inside the folder.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subFolders
The folders directly inside the folder.
- Parameters:
subFolders- The folders directly inside the folder.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subFolders
The folders directly inside the folder.
This is a convenience method that creates an instance of theFolderReference.Builderavoiding the need to create one manually viaFolderReference.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosubFolders(List<FolderReference>).- Parameters:
subFolders- a consumer that will call methods onFolderReference.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
files
The files directly inside the folder.
- Parameters:
files- The files directly inside the folder.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
files
The files directly inside the folder.
- Parameters:
files- The files directly inside the folder.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
files
The files directly inside the folder.
This is a convenience method that creates an instance of theFileReference.Builderavoiding the need to create one manually viaFileReference.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofiles(List<FileReference>).- Parameters:
files- a consumer that will call methods onFileReference.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-