Class DownloadBlobResult


  • public final class DownloadBlobResult
    extends Object
    The object returned by the downloadBlob operation containing the blob contents and its digest.
    • Constructor Detail

      • DownloadBlobResult

        public DownloadBlobResult​(String digest,
                                  com.azure.core.util.BinaryData content)
        Initialize an instance of DownloadBlobResult.
        Parameters:
        digest - The SHA for the the returned blob.
        content - The content of the blob.
    • Method Detail

      • getDigest

        public String getDigest()
        Get the digest associated with the blob.
        Returns:
        The digest.
      • getContent

        public com.azure.core.util.BinaryData getContent()
        Get the blob contents.
        Returns:
        The contents of the blob.