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 BlobDownloadToFileOptionspublic BlobDownloadToFileOptions(String filePath)
Constructs a BlobDownloadToFileOptions.
Parameters:
filePath - Path of the file to download to.
Method Details getFilePathpublic String getFilePath()
Gets the path of the file to download to.
Returns:
The path of the file to download to.
getOpenOptionspublic 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 getRangepublic BlobRange getRange()
Gets the BlobRange.
Returns:
isRetrieveContentRangeMd5public 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.
setDownloadRetryOptionspublic BlobDownloadToFileOptions setDownloadRetryOptions(DownloadRetryOptions downloadRetryOptions)
Sets the DownloadRetryOptions.
Parameters:
Returns:
The updated options.
setOpenOptionspublic 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.
setParallelTransferOptionspublic BlobDownloadToFileOptions setParallelTransferOptions(ParallelTransferOptions parallelTransferOptions)
Sets the ParallelTransferOptions.
Parameters:
Returns:
The updated options.
setRangepublic BlobDownloadToFileOptions setRange(BlobRange range)
Sets the BlobRange.
Parameters:
Returns:
The updated options.
setRequestConditionspublic BlobDownloadToFileOptions setRequestConditions(BlobRequestConditions requestConditions)
Sets the BlobRequestConditions.
Parameters:
Returns:
The updated options.
setRetrieveContentRangeMd5public 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 toCollaborate 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 articleWas 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