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 Summary
Constructors Constructor Description DownloadBlobResult(String digest, com.azure.core.util.BinaryData content)
Initialize an instance of DownloadBlobResult.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.azure.core.util.BinaryData
getContent()
Get the blob contents.String
getDigest()
Get the digest associated with the blob.
-
-
-
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.
-
-