- 2.47.0 (latest)
- 2.46.0
- 2.45.0
- 2.44.1
- 2.43.2
- 2.42.0
- 2.41.0
- 2.40.1
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.1
- 2.34.0
- 2.33.0
- 2.32.1
- 2.30.1
- 2.29.1
- 2.28.0
- 2.27.1
- 2.24.0
- 2.23.0
- 2.22.6
- 2.21.0
- 2.20.2
- 2.19.0
- 2.18.0
- 2.17.2
- 2.16.0
- 2.15.1
- 2.14.0
- 2.13.1
- 2.12.0
- 2.11.3
- 2.10.0
- 2.9.3
- 2.8.1
- 2.7.1
- 2.6.1
- 2.5.1
- 2.4.5
- 2.3.0
- 2.2.3
- 2.1.10
public static final class ParallelUploadConfig.Builder
Builds an instance of ParallelUploadConfig. See Also: ParallelUploadConfig
Methods
build()
public ParallelUploadConfig build()
Creates a ParallelUploadConfig object.
Returns | |
---|---|
Type | Description |
ParallelUploadConfig |
ParallelUploadConfig |
setBucketName(@NonNull String bucketName)
public ParallelUploadConfig.Builder setBucketName(@NonNull String bucketName)
Sets the bucketName that Transfer Manager will upload to. This field is required. See Also: ParallelUploadConfig#getBucketName()
Parameter | |
---|---|
Name | Description |
bucketName |
@org.checkerframework.checker.nullness.qual.NonNull java.lang.String |
Returns | |
---|---|
Type | Description |
ParallelUploadConfig.Builder |
the builder instance with the value for bucketName modified. |
setPrefix(@NonNull String prefix)
public ParallelUploadConfig.Builder setPrefix(@NonNull String prefix)
Sets a common prefix that will be applied to all object paths in the destination bucket. See Also: ParallelUploadConfig#getPrefix()
Parameter | |
---|---|
Name | Description |
prefix |
@org.checkerframework.checker.nullness.qual.NonNull java.lang.String |
Returns | |
---|---|
Type | Description |
ParallelUploadConfig.Builder |
the builder instance with the value for prefix modified. |
setSkipIfExists(boolean skipIfExists)
public ParallelUploadConfig.Builder setSkipIfExists(boolean skipIfExists)
Sets the parameter for skipIfExists. When set to true Transfer Manager will skip uploading an object if it already exists. See Also: ParallelUploadConfig#isSkipIfExists()
Parameter | |
---|---|
Name | Description |
skipIfExists |
boolean |
Returns | |
---|---|
Type | Description |
ParallelUploadConfig.Builder |
the builder instance with the value for skipIfExists modified. |
setWriteOptsPerRequest(@NonNull List<Storage.BlobWriteOption> writeOptsPerRequest)
public ParallelUploadConfig.Builder setWriteOptsPerRequest(@NonNull List<Storage.BlobWriteOption> writeOptsPerRequest)
Sets the BlobWriteOptions that will be applied to each upload request. Note these options will be applied to every single upload request. See Also: ParallelUploadConfig#getWriteOptsPerRequest()
Parameter | |
---|---|
Name | Description |
writeOptsPerRequest |
@org.checkerframework.checker.nullness.qual.NonNull java.util.List<BlobWriteOption> |
Returns | |
---|---|
Type | Description |
ParallelUploadConfig.Builder |
the builder instance with the value for WriteOptsPerRequest modified. |