Class PageBlobOutputStreamOptions

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

public final class PageBlobOutputStreamOptions extends Object implements com.azure.storage.common.ValidatableContent
Extended options that may be passed when opening an output stream to a page blob.
  • Constructor Details

  • Method Details

    • getPageRange

      public PageRange getPageRange()
      Gets the page range.
      Returns:
      The page range.
    • getRequestConditions

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

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

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

      public PageBlobOutputStreamOptions setContentValidationAlgorithm(com.azure.storage.common.ContentValidationAlgorithm contentValidationAlgorithm)
      Sets the algorithm to use for transfer content validation on the request. 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.