Class ParallelDownloadConfig (2.36.1)

public final class ParallelDownloadConfig

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

Inheritance

Object > ParallelDownloadConfig

Static Methods

newBuilder()

public static ParallelDownloadConfig.Builder newBuilder()

Builds an instance of ParallelDownloadConfig. See Also: ParallelDownloadConfig

Returns
Type Description
ParallelDownloadConfig.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 downloaded from. See Also: Builder#setBucketName(String)

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

getDownloadDirectory()

public @NonNull Path getDownloadDirectory()

The base directory in which all objects will be placed when downloaded. See Also: Builder#setDownloadDirectory(Path)

Returns
Type Description
@org.checkerframework.checker.nullness.qual.NonNull java.nio.file.Path

getOptionsPerRequest()

public @NonNull List<Storage.BlobSourceOption> getOptionsPerRequest()

A list of common BlobSourceOptions that are used for each download request. Note this list of options will be applied to every single request. See Also: Builder#setOptionsPerRequest(List)

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

getStripPrefix()

public @NonNull String getStripPrefix()

A common prefix removed from an object's name before being written to the filesystem. See Also: Builder#setStripPrefix(String)

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

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toString()

public String toString()
Returns
Type Description
String
Overrides