Class DownloadBlobResult

java.lang.Object
com.azure.containers.containerregistry.models.DownloadBlobResult

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

    • DownloadBlobResult

      public DownloadBlobResult(String digest, BinaryData content)
      Initialize an instance of DownloadBlobResult.
      Parameters:
      digest - The SHA for the the returned blob.
      content - The content of the blob.
  • Method Details

    • getDigest

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

      public BinaryData getContent()
      Get the blob contents.
      Returns:
      The contents of the blob.