Class ShareFileDownloadOptions
java.lang.Object
com.azure.storage.file.share.options.ShareFileDownloadOptions
Extended options that may be passed when downloading a File.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetRange()
Gets the range of bytes over which to list ranges, inclusively.Gets theShareRequestConditions
.Gets theDownloadRetryOptions
.Gets whether the service returns the MD5 hash for the range.setRange
(ShareFileRange range) Sets the range of bytes over which to list ranges, inclusively.setRangeContentMd5Requested
(Boolean rangeContentMd5Requested) Sets whether the service returns the MD5 hash for the range.setRequestConditions
(ShareRequestConditions requestConditions) Sets theShareRequestConditions
for the file.setRetryOptions
(DownloadRetryOptions retryOptions) Sets theDownloadRetryOptions
.
-
Constructor Details
-
ShareFileDownloadOptions
public ShareFileDownloadOptions()Creates a new instance ofShareFileDownloadOptions
.
-
-
Method Details
-
getRange
Gets the range of bytes over which to list ranges, inclusively.- Returns:
- The range of bytes over which to list ranges, inclusively.
-
isRangeContentMd5Requested
Gets whether the service returns the MD5 hash for the range.- Returns:
- Whether the service returns the MD5 hash for the range.
-
setRangeContentMd5Requested
Sets whether the service returns the MD5 hash for the range.- Parameters:
rangeContentMd5Requested
- Whether the service returns the MD5 hash for the range.- Returns:
- The updated options.
-
getRequestConditions
Gets theShareRequestConditions
.- Returns:
ShareRequestConditions
-
getRetryOptions
Gets theDownloadRetryOptions
.- Returns:
DownloadRetryOptions
-