BlobDownloadToFileOptions Class
- java.
lang. Object - com.
azure. storage. blob. options. BlobDownloadToFileOptions
- com.
public class BlobDownloadToFileOptions
Extended options that may be passed when downloading a blob to a file.
Constructor Summary
Constructor | Description |
---|---|
BlobDownloadToFileOptions(String filePath) |
Constructs a BlobDownloadToFileOptions. |
Method Summary
Methods inherited from java.lang.Object
Constructor Details
BlobDownloadToFileOptions
public BlobDownloadToFileOptions(String filePath)
Constructs a BlobDownloadToFileOptions.
Parameters:
Method Details
getDownloadRetryOptions
getFilePath
public String getFilePath()
Gets the path of the file to download to.
Returns:
getOpenOptions
public Set
Gets the OpenOptions to use to configure how to open or create the file.
Returns:
getParallelTransferOptions
public ParallelTransferOptions getParallelTransferOptions()
Gets the ParallelTransferOptions.
Returns:
getRequestConditions
isRetrieveContentRangeMd5
public boolean isRetrieveContentRangeMd5()
Gets whether the contentMD5 for the specified blob range should be returned.
Returns:
setDownloadRetryOptions
public BlobDownloadToFileOptions setDownloadRetryOptions(DownloadRetryOptions downloadRetryOptions)
Sets the DownloadRetryOptions.
Parameters:
Returns:
setOpenOptions
public BlobDownloadToFileOptions setOpenOptions(Set
Sets the OpenOptions to use to configure how to open or create the file.
Parameters:
Returns:
setParallelTransferOptions
public BlobDownloadToFileOptions setParallelTransferOptions(ParallelTransferOptions parallelTransferOptions)
Sets the ParallelTransferOptions.
Parameters:
Returns:
setRange
setRequestConditions
public BlobDownloadToFileOptions setRequestConditions(BlobRequestConditions requestConditions)
Sets the BlobRequestConditions.
Parameters:
Returns:
setRetrieveContentRangeMd5
public BlobDownloadToFileOptions setRetrieveContentRangeMd5(boolean retrieveContentRangeMd5)
Sets whether the contentMD5 for the specified blob range should be returned.
Parameters:
Returns: