BlobDownloadStreamOptions Class
- java.
lang. Object - com.
azure. storage. blob. options. BlobDownloadStreamOptions
- com.
public final class BlobDownloadStreamOptions
Extended options that may be passed when downloading a blob range to an output stream.
Constructor Summary
| Constructor | Description |
|---|---|
| BlobDownloadStreamOptions() |
Creates a new instance of BlobDownloadStreamOptions. |
Method Summary
Methods inherited from java.lang.Object
Constructor Details
BlobDownloadStreamOptions
public BlobDownloadStreamOptions()
Creates a new instance of BlobDownloadStreamOptions.
Method Details
getContentValidationAlgorithm
public ContentValidationAlgorithm getContentValidationAlgorithm()
Gets the algorithm to use for transfer content validation on the response. See ContentValidationAlgorithm for more details.
Returns:
getDownloadRetryOptions
public DownloadRetryOptions getDownloadRetryOptions()
Gets the DownloadRetryOptions.
Returns:
getRange
getRequestConditions
public BlobRequestConditions getRequestConditions()
Gets the BlobRequestConditions.
Returns:
isRetrieveContentRangeMd5
public boolean isRetrieveContentRangeMd5()
Gets whether the content MD5 for the specified blob range should be returned.
Returns:
setContentValidationAlgorithm
public BlobDownloadStreamOptions setContentValidationAlgorithm(ContentValidationAlgorithm contentValidationAlgorithm)
Sets the algorithm to use for transfer content validation on the response. See ContentValidationAlgorithm for more details.
Parameters:
Returns:
setDownloadRetryOptions
public BlobDownloadStreamOptions setDownloadRetryOptions(DownloadRetryOptions downloadRetryOptions)
Sets the DownloadRetryOptions.
Parameters:
Returns:
setRange
public BlobDownloadStreamOptions setRange(BlobRange range)
Sets the BlobRange.
Parameters:
Returns:
setRequestConditions
public BlobDownloadStreamOptions setRequestConditions(BlobRequestConditions requestConditions)
Sets the BlobRequestConditions.
Parameters:
Returns:
setRetrieveContentRangeMd5
public BlobDownloadStreamOptions setRetrieveContentRangeMd5(boolean retrieveContentRangeMd5)
Sets whether the content MD5 for the specified blob range should be returned.
Parameters:
Returns: