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()
ParallelTransferOptions
public DownloadRetryOptions getDownloadRetryOptions()
DownloadRetryOptions
public BlobRequestConditions getRequestConditions()
BlobRequestConditions
public boolean isRetrieveContentRangeMd5()
public Set<OpenOption> getOpenOptions()
OpenOptions
to use to configure how to open or create the file.public BlobDownloadToFileOptions setRange(BlobRange range)
range
- BlobRange
public BlobDownloadToFileOptions setParallelTransferOptions(ParallelTransferOptions parallelTransferOptions)
parallelTransferOptions
- ParallelTransferOptions
public BlobDownloadToFileOptions setDownloadRetryOptions(DownloadRetryOptions downloadRetryOptions)
downloadRetryOptions
- DownloadRetryOptions
public BlobDownloadToFileOptions setRequestConditions(BlobRequestConditions requestConditions)
requestConditions
- BlobRequestConditions
public 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.