Class ParallelUploadConfig
java.lang.Object
com.google.cloud.storage.transfermanager.ParallelUploadConfig
Configuration for performing Parallel Uploads with
TransferManager.- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds an instance of ParallelUploadConfig.static interface -
Method Summary
Modifier and TypeMethodDescriptionboolean@NonNull StringThe bucket objects are being uploaded from@NonNull StringA common prefix that will be applied to all object paths in the destination bucketTheParallelUploadConfig.UploadBlobInfoFactorywhich will be used to produce aBlobInfos based on a provided bucket name and file name.@NonNull List<Storage.BlobWriteOption>A list of common BlobWriteOptions, note these options will be applied to each upload request.inthashCode()booleanIf set Transfer Manager will skip uploading an object if it already exists, equivalent to providingStorage.BlobWriteOption.doesNotExist()ingetWriteOptsPerRequest()static ParallelUploadConfig.BuildertoString()
-
Method Details
-
isSkipIfExists
public boolean isSkipIfExists()If set Transfer Manager will skip uploading an object if it already exists, equivalent to providingStorage.BlobWriteOption.doesNotExist()ingetWriteOptsPerRequest() -
getPrefix
A common prefix that will be applied to all object paths in the destination bucket -
getUploadBlobInfoFactory
TheParallelUploadConfig.UploadBlobInfoFactorywhich will be used to produce aBlobInfos based on a provided bucket name and file name.- Since:
- 2.49.0
- See Also:
-
getBucketName
The bucket objects are being uploaded from -
getWriteOptsPerRequest
A list of common BlobWriteOptions, note these options will be applied to each upload request. -
equals
-
hashCode
public int hashCode() -
toString
-
newBuilder
-