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. -
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 bucket@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
@BetaApi 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 -
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
-