A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://learn.microsoft.com/en-us/java/api/com.azure.storage.blob.options.blobdownloadtofileoptions below:

BlobDownloadToFileOptions Class | Microsoft Learn

BlobDownloadToFileOptions Class

public class BlobDownloadToFileOptions

Extended options that may be passed when downloading a blob to a file.

Constructor Summary Method Summary Methods inherited from java.lang.Object Constructor Details BlobDownloadToFileOptions

public BlobDownloadToFileOptions(String filePath)

Constructs a BlobDownloadToFileOptions.

Parameters:

filePath - Path of the file to download to.

Method Details getFilePath

public String getFilePath()

Gets the path of the file to download to.

Returns:

The path of the file to download to.

getOpenOptions

public Set<OpenOption> getOpenOptions()

Gets the OpenOptions to use to configure how to open or create the file.

Returns:

OpenOptions to use to configure how to open or create the file.

getParallelTransferOptions getRange

public BlobRange getRange()

Gets the BlobRange.

Returns:

isRetrieveContentRangeMd5

public boolean isRetrieveContentRangeMd5()

Gets whether the contentMD5 for the specified blob range should be returned.

Returns:

Whether the contentMD5 for the specified blob range should be returned.

setDownloadRetryOptions

public BlobDownloadToFileOptions setDownloadRetryOptions(DownloadRetryOptions downloadRetryOptions)

Sets the DownloadRetryOptions.

Parameters:

Returns:

The updated options.

setOpenOptions

public BlobDownloadToFileOptions setOpenOptions(Set<OpenOption> openOptions)

Sets the OpenOptions to use to configure how to open or create the file.

Parameters:

openOptions - OpenOptions to use to configure how to open or create the file.

Returns:

The updated options.

setParallelTransferOptions

public BlobDownloadToFileOptions setParallelTransferOptions(ParallelTransferOptions parallelTransferOptions)

Sets the ParallelTransferOptions.

Parameters:

Returns:

The updated options.

setRange

public BlobDownloadToFileOptions setRange(BlobRange range)

Sets the BlobRange.

Parameters:

Returns:

The updated options.

setRequestConditions

public BlobDownloadToFileOptions setRequestConditions(BlobRequestConditions requestConditions)

Sets the BlobRequestConditions.

Parameters:

Returns:

The updated options.

setRetrieveContentRangeMd5

public BlobDownloadToFileOptions setRetrieveContentRangeMd5(boolean retrieveContentRangeMd5)

Sets whether the contentMD5 for the specified blob range should be returned.

Parameters:

retrieveContentRangeMd5 - Whether the contentMD5 for the specified blob range should be returned.

Returns:

The updated options.

Applies to

Collaborate with us on GitHub

The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide. In this article

Was this page helpful?


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4