ShareFileDownloadOptions Class

  • java.lang.Object
    • com.azure.storage.file.share.options.ShareFileDownloadOptions

public final class ShareFileDownloadOptions

Extended options that may be passed when downloading a File.

Constructor Summary

Constructor Description
ShareFileDownloadOptions()

Method Summary

Modifier and Type Method and Description
ShareFileRange getRange()
ShareRequestConditions getRequestConditions()
DownloadRetryOptions getRetryOptions()
Boolean isRangeContentMd5Requested()
ShareFileDownloadOptions setRange(ShareFileRange range)
ShareFileDownloadOptions setRangeContentMd5Requested(Boolean rangeContentMd5Requested)
ShareFileDownloadOptions setRequestConditions(ShareRequestConditions requestConditions)
ShareFileDownloadOptions setRetryOptions(DownloadRetryOptions retryOptions)

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

public ShareRequestConditions getRequestConditions()

Returns:

getRetryOptions

public DownloadRetryOptions getRetryOptions()

Returns:

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.

Applies to