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() |
Creates a new instance of ShareFileDownloadOptions. |
Method Summary
Modifier and Type | Method and Description |
---|---|
Share |
getRange()
Gets the range of bytes over which to list ranges, inclusively. |
Share |
getRequestConditions()
Gets the ShareRequestConditions. |
Download |
getRetryOptions()
Gets the DownloadRetryOptions. |
Boolean |
isRangeContentMd5Requested()
Gets whether the service returns the MD5 hash for the range. |
Share |
setRange(ShareFileRange range)
Sets the range of bytes over which to list ranges, inclusively. |
Share |
setRangeContentMd5Requested(Boolean rangeContentMd5Requested)
Sets whether the service returns the MD5 hash for the range. |
Share |
setRequestConditions(ShareRequestConditions requestConditions)
Sets the ShareRequestConditions for the file. |
Share |
setRetryOptions(DownloadRetryOptions retryOptions)
Sets the DownloadRetryOptions. |
Methods inherited from java.lang.Object
Constructor Details
ShareFileDownloadOptions
public ShareFileDownloadOptions()
Creates a new instance of ShareFileDownloadOptions.
Method Details
getRange
public ShareFileRange getRange()
Gets the range of bytes over which to list ranges, inclusively.
Returns:
getRequestConditions
getRetryOptions
isRangeContentMd5Requested
public Boolean isRangeContentMd5Requested()
Gets whether the service returns the MD5 hash for the range.
Returns:
setRange
public ShareFileDownloadOptions setRange(ShareFileRange range)
Sets the range of bytes over which to list ranges, inclusively.
Parameters:
Returns:
setRangeContentMd5Requested
public ShareFileDownloadOptions setRangeContentMd5Requested(Boolean rangeContentMd5Requested)
Sets whether the service returns the MD5 hash for the range.
Parameters:
Returns:
setRequestConditions
public ShareFileDownloadOptions setRequestConditions(ShareRequestConditions requestConditions)
Sets the ShareRequestConditions for the file.
Parameters:
Returns:
setRetryOptions
public ShareFileDownloadOptions setRetryOptions(DownloadRetryOptions retryOptions)
Sets the DownloadRetryOptions.
Parameters:
Returns:
Applies to
Azure SDK for Java