Class OciBlobDescriptor
java.lang.Object
com.azure.containers.containerregistry.models.OciBlobDescriptor
Docker V2 image layer descriptor including config and layers.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the annotations property: Additional information provided through arbitrary metadata.Get the digest property: Layer digest.Get the mediaType property: Layer media type.getSize()
Get the size property: Layer size.getUrls()
Get the urls property: Specifies a list of URIs from which this object may be downloaded.setAnnotations
(OciAnnotations annotations) Set the annotations property: Additional information provided through arbitrary metadata.Set the digest property: Layer digest.setMediaType
(String mediaType) Set the mediaType property: Layer media type.Set the size property: Layer size.Set the urls property: Specifies a list of URIs from which this object may be downloaded.
-
Constructor Details
-
OciBlobDescriptor
public OciBlobDescriptor()
-
-
Method Details
-
getMediaType
Get the mediaType property: Layer media type.- Returns:
- the mediaType value.
-
setMediaType
Set the mediaType property: Layer media type.- Parameters:
mediaType
- the mediaType value to set.- Returns:
- the OciBlobDescriptor object itself.
-
getSize
Get the size property: Layer size.- Returns:
- the size value.
-
setSize
Set the size property: Layer size.- Parameters:
size
- the size value to set.- Returns:
- the OciBlobDescriptor object itself.
-
getDigest
Get the digest property: Layer digest.- Returns:
- the digest value.
-
setDigest
Set the digest property: Layer digest.- Parameters:
digest
- the digest value to set.- Returns:
- the OciBlobDescriptor object itself.
-
getUrls
Get the urls property: Specifies a list of URIs from which this object may be downloaded.- Returns:
- the urls value.
-
setUrls
Set the urls property: Specifies a list of URIs from which this object may be downloaded.- Parameters:
urls
- the urls value to set.- Returns:
- the OciBlobDescriptor object itself.
-
getAnnotations
Get the annotations property: Additional information provided through arbitrary metadata.- Returns:
- the annotations value.
-
setAnnotations
Set the annotations property: Additional information provided through arbitrary metadata.- Parameters:
annotations
- the annotations value to set.- Returns:
- the OciBlobDescriptor object itself.
-