ShareFileDownloadOptions Class
- java.
lang. Object - com.
azure. storage. file. share. options. ShareFileDownloadOptions
- com.
public final class ShareFileDownloadOptions
Extended options that may be passed when downloading a File.
Constructor Summary
Constructor | Description | |
---|---|---|
ShareFileDownloadOptions() |
Method Summary
Methods inherited from java.lang.Object
Constructor Details
ShareFileDownloadOptions
public ShareFileDownloadOptions()
Method Details
getRange
public ShareFileRange getRange()
Returns:
The range of bytes over which to list ranges, inclusively.
getRequestConditions
getRetryOptions
isRangeContentMd5Requested
public Boolean isRangeContentMd5Requested()
Returns:
Whether or not the service returns the MD5 hash for the range.
setRange
public ShareFileDownloadOptions setRange(ShareFileRange range)
Parameters:
range
- The range of bytes over which to list ranges, inclusively.
Returns:
The updated options.
setRangeContentMd5Requested
public ShareFileDownloadOptions setRangeContentMd5Requested(Boolean rangeContentMd5Requested)
Parameters:
rangeContentMd5Requested
- Whether or not the service returns the MD5 hash for the range.
Returns:
The updated options.
setRequestConditions
public ShareFileDownloadOptions setRequestConditions(ShareRequestConditions requestConditions)
Parameters:
requestConditions
- ShareRequestConditions for the file.
Returns:
The updated options.
setRetryOptions
public ShareFileDownloadOptions setRetryOptions(DownloadRetryOptions retryOptions)
Parameters:
retryOptions
- DownloadRetryOptions
Returns:
The updated options.