Class BlobDownloadContentOptions

java.lang.Object
com.azure.storage.blob.options.BlobDownloadContentOptions
All Implemented Interfaces:
com.azure.storage.common.ValidatableContent

public final class BlobDownloadContentOptions extends Object implements com.azure.storage.common.ValidatableContent
Extended options that may be passed when downloading blob content (full blob or range in memory).
  • Constructor Details

  • Method Details

    • getRange

      public BlobRange getRange()
      Gets the BlobRange.
      Returns:
      The blob range.
    • setRange

      public BlobDownloadContentOptions setRange(BlobRange range)
      Sets the BlobRange.
      Parameters:
      range - The blob range.
      Returns:
      The updated options.
    • getDownloadRetryOptions

      public DownloadRetryOptions getDownloadRetryOptions()
      Returns:
      The download retry options.
    • setDownloadRetryOptions

      public BlobDownloadContentOptions setDownloadRetryOptions(DownloadRetryOptions downloadRetryOptions)
      Parameters:
      downloadRetryOptions - The download retry options.
      Returns:
      The updated options.
    • getRequestConditions

      public BlobRequestConditions getRequestConditions()
      Returns:
      The request conditions.
    • setRequestConditions

      public BlobDownloadContentOptions setRequestConditions(BlobRequestConditions requestConditions)
      Parameters:
      requestConditions - The request conditions.
      Returns:
      The updated options.
    • isRetrieveContentRangeMd5

      public boolean isRetrieveContentRangeMd5()
      Gets whether the content MD5 for the specified blob range should be returned.
      Returns:
      Whether to retrieve content range MD5.
    • setRetrieveContentRangeMd5

      public BlobDownloadContentOptions setRetrieveContentRangeMd5(boolean retrieveContentRangeMd5)
      Sets whether the content MD5 for the specified blob range should be returned.
      Parameters:
      retrieveContentRangeMd5 - Whether to retrieve content range MD5.
      Returns:
      The updated options.
    • getContentValidationAlgorithm

      public com.azure.storage.common.ContentValidationAlgorithm getContentValidationAlgorithm()
      Gets the algorithm to use for transfer content validation. See ContentValidationAlgorithm for more details.
      Specified by:
      getContentValidationAlgorithm in interface com.azure.storage.common.ValidatableContent
      Returns:
      The transfer validation checksum algorithm.
    • setContentValidationAlgorithm

      public BlobDownloadContentOptions setContentValidationAlgorithm(com.azure.storage.common.ContentValidationAlgorithm contentValidationAlgorithm)
      Sets the algorithm to use for transfer content validation. See ContentValidationAlgorithm for more details.
      Specified by:
      setContentValidationAlgorithm in interface com.azure.storage.common.ValidatableContent
      Parameters:
      contentValidationAlgorithm - The transfer validation checksum algorithm.
      Returns:
      The updated options.