Package com.azure.storage.blob.options
Class BlobDownloadToFileOptions
java.lang.Object
com.azure.storage.blob.options.BlobDownloadToFileOptions
Extended options that may be passed when downloading a blob to a file.
-
Constructor Summary
ConstructorsConstructorDescriptionBlobDownloadToFileOptions(String filePath) Constructs aBlobDownloadToFileOptions. -
Method Summary
Modifier and TypeMethodDescriptiongetRange()booleansetDownloadRetryOptions(DownloadRetryOptions downloadRetryOptions) setOpenOptions(Set<OpenOption> openOptions) setParallelTransferOptions(ParallelTransferOptions parallelTransferOptions) setRequestConditions(BlobRequestConditions requestConditions) setRetrieveContentRangeMd5(boolean retrieveContentRangeMd5)
-
Constructor Details
-
BlobDownloadToFileOptions
Constructs aBlobDownloadToFileOptions.- Parameters:
filePath- Path of the file to download to.
-
-
Method Details
-
getFilePath
- Returns:
- The path of the file to download to.
-
getRange
- Returns:
BlobRange
-
getParallelTransferOptions
- Returns:
ParallelTransferOptions
-
getDownloadRetryOptions
- Returns:
DownloadRetryOptions
-
getRequestConditions
- Returns:
BlobRequestConditions
-
isRetrieveContentRangeMd5
public boolean isRetrieveContentRangeMd5()- Returns:
- Whether the contentMD5 for the specified blob range should be returned.
-
getOpenOptions
- Returns:
OpenOptionsto use to configure how to open or create the file.
-
setRange
- Parameters:
range-BlobRange- Returns:
- The updated options.
-
setParallelTransferOptions
public BlobDownloadToFileOptions setParallelTransferOptions(ParallelTransferOptions parallelTransferOptions) - Parameters:
parallelTransferOptions-ParallelTransferOptions- Returns:
- The updated options.
-
setDownloadRetryOptions
- Parameters:
downloadRetryOptions-DownloadRetryOptions- Returns:
- The updated options.
-
setRequestConditions
- Parameters:
requestConditions-BlobRequestConditions- Returns:
- The updated options.
-
setRetrieveContentRangeMd5
- Parameters:
retrieveContentRangeMd5- Whether the contentMD5 for the specified blob range should be returned.- Returns:
- The updated options.
-
setOpenOptions
- Parameters:
openOptions-OpenOptionsto use to configure how to open or create the file.- Returns:
- The updated options.
-