Class DownloadBlobResult
java.lang.Object
com.azure.containers.containerregistry.models.DownloadBlobResult
The object returned by the downloadBlob operation
containing the blob contents and its digest.
-
Constructor Summary
ConstructorDescriptionDownloadBlobResult
(String digest, BinaryData content) Initialize an instance of DownloadBlobResult. -
Method Summary
Modifier and TypeMethodDescriptionGet the blob contents.Get the digest associated with the blob.
-
Constructor Details
-
DownloadBlobResult
Initialize an instance of DownloadBlobResult.- Parameters:
digest
- The SHA for the the returned blob.content
- The content of the blob.
-
-
Method Details
-
getDigest
Get the digest associated with the blob.- Returns:
- The digest.
-
getContent
Get the blob contents.- Returns:
- The contents of the blob.
-