Class OciBlobDescriptor
- java.lang.Object
-
- com.azure.containers.containerregistry.models.OciBlobDescriptor
-
public final class OciBlobDescriptor extends Object
Docker V2 image layer descriptor including config and layers.
-
-
Constructor Summary
Constructors Constructor Description OciBlobDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OciAnnotations
getAnnotations()
Get the annotations property: Additional information provided through arbitrary metadata.String
getDigest()
Get the digest property: Layer digest.String
getMediaType()
Get the mediaType property: Layer media type.Long
getSize()
Get the size property: Layer size.List<String>
getUrls()
Get the urls property: Specifies a list of URIs from which this object may be downloaded.OciBlobDescriptor
setAnnotations(OciAnnotations annotations)
Set the annotations property: Additional information provided through arbitrary metadata.OciBlobDescriptor
setDigest(String digest)
Set the digest property: Layer digest.OciBlobDescriptor
setMediaType(String mediaType)
Set the mediaType property: Layer media type.OciBlobDescriptor
setSize(Long size)
Set the size property: Layer size.OciBlobDescriptor
setUrls(List<String> urls)
Set the urls property: Specifies a list of URIs from which this object may be downloaded.
-
-
-
Method Detail
-
getMediaType
public String getMediaType()
Get the mediaType property: Layer media type.- Returns:
- the mediaType value.
-
setMediaType
public OciBlobDescriptor setMediaType(String mediaType)
Set the mediaType property: Layer media type.- Parameters:
mediaType
- the mediaType value to set.- Returns:
- the OciBlobDescriptor object itself.
-
getSize
public Long getSize()
Get the size property: Layer size.- Returns:
- the size value.
-
setSize
public OciBlobDescriptor setSize(Long size)
Set the size property: Layer size.- Parameters:
size
- the size value to set.- Returns:
- the OciBlobDescriptor object itself.
-
getDigest
public String getDigest()
Get the digest property: Layer digest.- Returns:
- the digest value.
-
setDigest
public OciBlobDescriptor setDigest(String digest)
Set the digest property: Layer digest.- Parameters:
digest
- the digest value to set.- Returns:
- the OciBlobDescriptor object itself.
-
getUrls
public List<String> getUrls()
Get the urls property: Specifies a list of URIs from which this object may be downloaded.- Returns:
- the urls value.
-
setUrls
public OciBlobDescriptor setUrls(List<String> urls)
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
public OciAnnotations getAnnotations()
Get the annotations property: Additional information provided through arbitrary metadata.- Returns:
- the annotations value.
-
setAnnotations
public OciBlobDescriptor setAnnotations(OciAnnotations annotations)
Set the annotations property: Additional information provided through arbitrary metadata.- Parameters:
annotations
- the annotations value to set.- Returns:
- the OciBlobDescriptor object itself.
-
-