@BetaApi public static final class ParallelDownloadConfig.Builder extends Object
Modifier and Type | Method and Description |
---|---|
ParallelDownloadConfig |
build()
Creates a ParallelDownloadConfig object.
|
ParallelDownloadConfig.Builder |
setBucketName(String bucketName)
Sets the bucketName that Transfer Manager will download from.
|
ParallelDownloadConfig.Builder |
setDownloadDirectory(Path downloadDirectory)
Sets the base directory on the filesystem that all objects will be written to.
|
ParallelDownloadConfig.Builder |
setOptionsPerRequest(List<Storage.BlobSourceOption> optionsPerRequest)
Sets the BlobSourceOptions that will be applied to each download request.
|
ParallelDownloadConfig.Builder |
setStripPrefix(String stripPrefix)
Sets the value for stripPrefix.
|
@BetaApi public ParallelDownloadConfig.Builder setStripPrefix(String stripPrefix)
ParallelDownloadConfig.getStripPrefix()
@BetaApi public ParallelDownloadConfig.Builder setDownloadDirectory(Path downloadDirectory)
ParallelDownloadConfig.getDownloadDirectory()
@BetaApi public ParallelDownloadConfig.Builder setBucketName(String bucketName)
ParallelDownloadConfig.getBucketName()
@BetaApi public ParallelDownloadConfig.Builder setOptionsPerRequest(List<Storage.BlobSourceOption> optionsPerRequest)
ParallelDownloadConfig.getOptionsPerRequest()
@BetaApi public ParallelDownloadConfig build()
ParallelDownloadConfig
Copyright © 2023 Google LLC. All rights reserved.