Class ShareFileDownloadOptions
- java.lang.Object
-
- com.azure.storage.file.share.options.ShareFileDownloadOptions
-
public final class ShareFileDownloadOptions extends Object
Extended options that may be passed when downloading a File.
-
-
Constructor Summary
Constructors Constructor Description ShareFileDownloadOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ShareFileRangegetRange()ShareRequestConditionsgetRequestConditions()DownloadRetryOptionsgetRetryOptions()BooleanisRangeContentMd5Requested()ShareFileDownloadOptionssetRange(ShareFileRange range)ShareFileDownloadOptionssetRangeContentMd5Requested(Boolean rangeContentMd5Requested)ShareFileDownloadOptionssetRequestConditions(ShareRequestConditions requestConditions)ShareFileDownloadOptionssetRetryOptions(DownloadRetryOptions retryOptions)
-
-
-
Method Detail
-
getRange
public ShareFileRange getRange()
- Returns:
- The range of bytes over which to list ranges, inclusively.
-
setRange
public ShareFileDownloadOptions setRange(ShareFileRange range)
- Parameters:
range- The range of bytes over which to list ranges, inclusively.- Returns:
- The updated options.
-
isRangeContentMd5Requested
public Boolean isRangeContentMd5Requested()
- Returns:
- Whether or not the service returns the MD5 hash for the range.
-
setRangeContentMd5Requested
public ShareFileDownloadOptions setRangeContentMd5Requested(Boolean rangeContentMd5Requested)
- Parameters:
rangeContentMd5Requested- Whether or not the service returns the MD5 hash for the range.- Returns:
- The updated options.
-
getRequestConditions
public ShareRequestConditions getRequestConditions()
- Returns:
ShareRequestConditions
-
setRequestConditions
public ShareFileDownloadOptions setRequestConditions(ShareRequestConditions requestConditions)
- Parameters:
requestConditions-ShareRequestConditionsfor the file.- Returns:
- The updated options.
-
getRetryOptions
public DownloadRetryOptions getRetryOptions()
- Returns:
DownloadRetryOptions
-
setRetryOptions
public ShareFileDownloadOptions setRetryOptions(DownloadRetryOptions retryOptions)
- Parameters:
retryOptions-DownloadRetryOptions- Returns:
- The updated options.
-
-