Interface S3FilesLocation.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<S3FilesLocation.Builder,,S3FilesLocation> SdkBuilder<S3FilesLocation.Builder,,S3FilesLocation> SdkPojo
- Enclosing class:
S3FilesLocation
@Mutable
@NotThreadSafe
public static interface S3FilesLocation.Builder
extends SdkPojo, CopyableBuilder<S3FilesLocation.Builder,S3FilesLocation>
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the Amazon Simple Storage Service bucket that contains the files to import.fileList(Collection<S3File> fileList) The files to import.fileList(Consumer<S3File.Builder>... fileList) The files to import.The files to import.Methods 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, sdkFields
-
Method Details
-
bucket
The name of the Amazon Simple Storage Service bucket that contains the files to import.
- Parameters:
bucket- The name of the Amazon Simple Storage Service bucket that contains the files to import.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileList
The files to import. Cells are created in the order in which you list the files. You can specify between 1 and 100 files.
- Parameters:
fileList- The files to import. Cells are created in the order in which you list the files. You can specify between 1 and 100 files.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileList
The files to import. Cells are created in the order in which you list the files. You can specify between 1 and 100 files.
- Parameters:
fileList- The files to import. Cells are created in the order in which you list the files. You can specify between 1 and 100 files.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileList
The files to import. Cells are created in the order in which you list the files. You can specify between 1 and 100 files.
This is a convenience method that creates an instance of theS3File.Builderavoiding the need to create one manually viaS3File.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofileList(List<S3File>).- Parameters:
fileList- a consumer that will call methods onS3File.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-