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
TypeDescription
ParallelDownloadConfig.Builder

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
NameDescription
oObject
Returns
TypeDescription
boolean
Overrides

getBucketName()

public @NonNull String getBucketName()

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

Returns
TypeDescription
@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
TypeDescription
@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
TypeDescription
@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
TypeDescription
@org.checkerframework.checker.nullness.qual.NonNull java.lang.String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toString()

public String toString()
Returns
TypeDescription
String
Overrides