Class ParallelUploadConfig (2.43.1)

public final class ParallelUploadConfig

Configuration for performing Parallel Uploads with TransferManager. See Also: Builder

Inheritance

Object > ParallelUploadConfig

Static Methods

newBuilder()

public static ParallelUploadConfig.Builder newBuilder()
Returns
Type Description
ParallelUploadConfig.Builder

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
Name Description
o Object
Returns
Type Description
boolean
Overrides

getBucketName()

public @NonNull String getBucketName()

The bucket objects are being uploaded from See Also: Builder#setBucketName(String)

Returns
Type Description
@org.checkerframework.checker.nullness.qual.NonNull java.lang.String

getPrefix()

public @NonNull String getPrefix()

A common prefix that will be applied to all object paths in the destination bucket See Also: Builder#setPrefix(String)

Returns
Type Description
@org.checkerframework.checker.nullness.qual.NonNull java.lang.String

getWriteOptsPerRequest()

public @NonNull List<Storage.BlobWriteOption> getWriteOptsPerRequest()

A list of common BlobWriteOptions, note these options will be applied to each upload request. See Also: Builder#setWriteOptsPerRequest(List)

Returns
Type Description
@org.checkerframework.checker.nullness.qual.NonNull java.util.List<BlobWriteOption>

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

isSkipIfExists()

public boolean isSkipIfExists()

If set Transfer Manager will skip uploading an object if it already exists, equivalent to providing BlobWriteOption#doesNotExist() in #getWriteOptsPerRequest() See Also: Builder#setSkipIfExists(boolean)

Returns
Type Description
boolean

toString()

public String toString()
Returns
Type Description
String
Overrides