Class OciAnnotations
java.lang.Object
com.azure.containers.containerregistry.models.OciAnnotations
- All Implemented Interfaces:
com.azure.json.JsonSerializable<OciAnnotations>
public final class OciAnnotations
extends Object
implements com.azure.json.JsonSerializable<OciAnnotations>
Additional information provided through arbitrary metadata.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic OciAnnotationsfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of OciAnnotations from the JsonReader.Get the additionalProperties property: Additional information provided through arbitrary metadata.Get the authors property: Contact details of the people or organization responsible for the image.Get the createdOn property: Date and time on which the image was built (string, date-time as defined by https://tools.ietf.org/html/rfc3339#section-5.6).Get the description property: Human-readable description of the software packaged in the image.Get the documentation property: URL to get documentation on the image.Get the licenses property: License(s) under which contained software is distributed as an SPDX License Expression.getName()Get the name property: Name of the reference for a target.Get the revision property: Source control revision identifier for the packaged software.Get the source property: URL to get source code for building the image.getTitle()Get the title property: Human-readable title of the image.getUrl()Get the url property: URL to find more information on the image.Get the vendor property: Name of the distributing entity, organization or individual.Get the version property: Version of the packaged software.setAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: Additional information provided through arbitrary metadata.setAuthors(String authors) Set the authors property: Contact details of the people or organization responsible for the image.setCreatedOn(OffsetDateTime createdOn) Set the createdOn property: Date and time on which the image was built (string, date-time as defined by https://tools.ietf.org/html/rfc3339#section-5.6).setDescription(String description) Set the description property: Human-readable description of the software packaged in the image.setDocumentation(String documentation) Set the documentation property: URL to get documentation on the image.setLicenses(String licenses) Set the licenses property: License(s) under which contained software is distributed as an SPDX License Expression.Set the name property: Name of the reference for a target.setRevision(String revision) Set the revision property: Source control revision identifier for the packaged software.Set the source property: URL to get source code for building the image.Set the title property: Human-readable title of the image.Set the url property: URL to find more information on the image.Set the vendor property: Name of the distributing entity, organization or individual.setVersion(String version) Set the version property: Version of the packaged software.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter)
-
Constructor Details
-
OciAnnotations
public OciAnnotations()Creates an instance of OciAnnotations class.
-
-
Method Details
-
getCreatedOn
Get the createdOn property: Date and time on which the image was built (string, date-time as defined by https://tools.ietf.org/html/rfc3339#section-5.6).- Returns:
- the createdOn value.
-
setCreatedOn
Set the createdOn property: Date and time on which the image was built (string, date-time as defined by https://tools.ietf.org/html/rfc3339#section-5.6).- Parameters:
createdOn- the createdOn value to set.- Returns:
- the OciAnnotations object itself.
-
getAuthors
Get the authors property: Contact details of the people or organization responsible for the image.- Returns:
- the authors value.
-
setAuthors
Set the authors property: Contact details of the people or organization responsible for the image.- Parameters:
authors- the authors value to set.- Returns:
- the OciAnnotations object itself.
-
getUrl
Get the url property: URL to find more information on the image.- Returns:
- the url value.
-
setUrl
Set the url property: URL to find more information on the image.- Parameters:
url- the url value to set.- Returns:
- the OciAnnotations object itself.
-
getDocumentation
Get the documentation property: URL to get documentation on the image.- Returns:
- the documentation value.
-
setDocumentation
Set the documentation property: URL to get documentation on the image.- Parameters:
documentation- the documentation value to set.- Returns:
- the OciAnnotations object itself.
-
getSource
Get the source property: URL to get source code for building the image.- Returns:
- the source value.
-
setSource
Set the source property: URL to get source code for building the image.- Parameters:
source- the source value to set.- Returns:
- the OciAnnotations object itself.
-
getVersion
Get the version property: Version of the packaged software. The version MAY match a label or tag in the source code repository, may also be Semantic versioning-compatible.- Returns:
- the version value.
-
setVersion
Set the version property: Version of the packaged software. The version MAY match a label or tag in the source code repository, may also be Semantic versioning-compatible.- Parameters:
version- the version value to set.- Returns:
- the OciAnnotations object itself.
-
getRevision
Get the revision property: Source control revision identifier for the packaged software.- Returns:
- the revision value.
-
setRevision
Set the revision property: Source control revision identifier for the packaged software.- Parameters:
revision- the revision value to set.- Returns:
- the OciAnnotations object itself.
-
getVendor
Get the vendor property: Name of the distributing entity, organization or individual.- Returns:
- the vendor value.
-
setVendor
Set the vendor property: Name of the distributing entity, organization or individual.- Parameters:
vendor- the vendor value to set.- Returns:
- the OciAnnotations object itself.
-
getLicenses
Get the licenses property: License(s) under which contained software is distributed as an SPDX License Expression.- Returns:
- the licenses value.
-
setLicenses
Set the licenses property: License(s) under which contained software is distributed as an SPDX License Expression.- Parameters:
licenses- the licenses value to set.- Returns:
- the OciAnnotations object itself.
-
getName
Get the name property: Name of the reference for a target.- Returns:
- the name value.
-
setName
Set the name property: Name of the reference for a target.- Parameters:
name- the name value to set.- Returns:
- the OciAnnotations object itself.
-
getTitle
Get the title property: Human-readable title of the image.- Returns:
- the title value.
-
setTitle
Set the title property: Human-readable title of the image.- Parameters:
title- the title value to set.- Returns:
- the OciAnnotations object itself.
-
getDescription
Get the description property: Human-readable description of the software packaged in the image.- Returns:
- the description value.
-
setDescription
Set the description property: Human-readable description of the software packaged in the image.- Parameters:
description- the description value to set.- Returns:
- the OciAnnotations object itself.
-
getAdditionalProperties
Get the additionalProperties property: Additional information provided through arbitrary metadata.- Returns:
- the additionalProperties value.
-
setAdditionalProperties
Set the additionalProperties property: Additional information provided through arbitrary metadata.- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the OciAnnotations object itself.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<OciAnnotations>- Throws:
IOException
-
fromJson
Reads an instance of OciAnnotations from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of OciAnnotations if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the OciAnnotations.
-