public class BlobDownloadToFileOptions extends Object
| Constructor and Description |
|---|
BlobDownloadToFileOptions(String filePath)
Constructs a
BlobDownloadToFileOptions. |
| Modifier and Type | Method and Description |
|---|---|
DownloadRetryOptions |
getDownloadRetryOptions() |
String |
getFilePath() |
Set<OpenOption> |
getOpenOptions() |
ParallelTransferOptions |
getParallelTransferOptions() |
BlobRange |
getRange() |
BlobRequestConditions |
getRequestConditions() |
boolean |
isRetrieveContentRangeMd5() |
BlobDownloadToFileOptions |
setDownloadRetryOptions(DownloadRetryOptions downloadRetryOptions) |
BlobDownloadToFileOptions |
setOpenOptions(Set<OpenOption> openOptions) |
BlobDownloadToFileOptions |
setParallelTransferOptions(ParallelTransferOptions parallelTransferOptions) |
BlobDownloadToFileOptions |
setRange(BlobRange range) |
BlobDownloadToFileOptions |
setRequestConditions(BlobRequestConditions requestConditions) |
BlobDownloadToFileOptions |
setRetrieveContentRangeMd5(boolean retrieveContentRangeMd5) |
public BlobDownloadToFileOptions(String filePath)
BlobDownloadToFileOptions.filePath - Path of the file to download to.public String getFilePath()
public ParallelTransferOptions getParallelTransferOptions()
ParallelTransferOptionspublic DownloadRetryOptions getDownloadRetryOptions()
DownloadRetryOptionspublic BlobRequestConditions getRequestConditions()
BlobRequestConditionspublic boolean isRetrieveContentRangeMd5()
public Set<OpenOption> getOpenOptions()
OpenOptions to use to configure how to open or create the file.public BlobDownloadToFileOptions setRange(BlobRange range)
range - BlobRangepublic BlobDownloadToFileOptions setParallelTransferOptions(ParallelTransferOptions parallelTransferOptions)
parallelTransferOptions - ParallelTransferOptionspublic BlobDownloadToFileOptions setDownloadRetryOptions(DownloadRetryOptions downloadRetryOptions)
downloadRetryOptions - DownloadRetryOptionspublic BlobDownloadToFileOptions setRequestConditions(BlobRequestConditions requestConditions)
requestConditions - BlobRequestConditionspublic BlobDownloadToFileOptions setRetrieveContentRangeMd5(boolean retrieveContentRangeMd5)
retrieveContentRangeMd5 - Whether the contentMD5 for the specified blob range should be returned.public BlobDownloadToFileOptions setOpenOptions(Set<OpenOption> openOptions)
openOptions - OpenOptions to use to configure how to open or create the file.Copyright © 2020 Microsoft Corporation. All rights reserved.