azure-docs-sdk-java/docs-ref-autogen/com.azure.containers.contai...

383 строки
27 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.containers.containerregistry.models.OciAnnotations"
fullName: "com.azure.containers.containerregistry.models.OciAnnotations"
name: "OciAnnotations"
nameWithType: "OciAnnotations"
summary: "Additional information provided through arbitrary metadata."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public final class **OciAnnotations**</br> implements <xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.containers.containerregistry.models.OciAnnotations?alt=com.azure.containers.containerregistry.models.OciAnnotations&text=OciAnnotations\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.containers.containerregistry.models.OciAnnotations.OciAnnotations()"
fullName: "com.azure.containers.containerregistry.models.OciAnnotations.OciAnnotations()"
name: "OciAnnotations()"
nameWithType: "OciAnnotations.OciAnnotations()"
summary: "Creates an instance of Oci<wbr>Annotations class."
syntax: "public OciAnnotations()"
desc: "Creates an instance of OciAnnotations class."
methods:
- uid: "com.azure.containers.containerregistry.models.OciAnnotations.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.containers.containerregistry.models.OciAnnotations.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "OciAnnotations.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Oci<wbr>Annotations from the Json<wbr>Reader."
modifiers:
- "static"
parameters:
- description: "The JsonReader being read."
name: "jsonReader"
type: "<xref href=\"com.azure.json.JsonReader?alt=com.azure.json.JsonReader&text=JsonReader\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static OciAnnotations fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the OciAnnotations."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads an instance of OciAnnotations from the JsonReader."
returns:
description: "An instance of OciAnnotations if the JsonReader was pointing to an instance of it, or null if it was\n pointing to JSON null."
type: "<xref href=\"com.azure.containers.containerregistry.models.OciAnnotations?alt=com.azure.containers.containerregistry.models.OciAnnotations&text=OciAnnotations\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.containers.containerregistry.models.OciAnnotations.getAdditionalProperties()"
fullName: "com.azure.containers.containerregistry.models.OciAnnotations.getAdditionalProperties()"
name: "getAdditionalProperties()"
nameWithType: "OciAnnotations.getAdditionalProperties()"
summary: "Get the additional<wbr>Properties property: Additional information provided through arbitrary metadata."
syntax: "public Map<String,Object> getAdditionalProperties()"
desc: "Get the additionalProperties property: Additional information provided through arbitrary metadata."
returns:
description: "the additionalProperties value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Map.html\">Map</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>,<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>&gt;"
- uid: "com.azure.containers.containerregistry.models.OciAnnotations.getAuthors()"
fullName: "com.azure.containers.containerregistry.models.OciAnnotations.getAuthors()"
name: "getAuthors()"
nameWithType: "OciAnnotations.getAuthors()"
summary: "Get the authors property: Contact details of the people or organization responsible for the image."
syntax: "public String getAuthors()"
desc: "Get the authors property: Contact details of the people or organization responsible for the image."
returns:
description: "the authors value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.containers.containerregistry.models.OciAnnotations.getCreatedOn()"
fullName: "com.azure.containers.containerregistry.models.OciAnnotations.getCreatedOn()"
name: "getCreatedOn()"
nameWithType: "OciAnnotations.getCreatedOn()"
summary: "Get the created<wbr>On property: Date and time on which the image was built (string, date-time as defined by https://tools.<wbr>ietf.<wbr>org/html/rfc3339\\#section-5.6)."
syntax: "public OffsetDateTime getCreatedOn()"
desc: "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:
description: "the createdOn value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html\">OffsetDateTime</a>"
- uid: "com.azure.containers.containerregistry.models.OciAnnotations.getDescription()"
fullName: "com.azure.containers.containerregistry.models.OciAnnotations.getDescription()"
name: "getDescription()"
nameWithType: "OciAnnotations.getDescription()"
summary: "Get the description property: Human-readable description of the software packaged in the image."
syntax: "public String getDescription()"
desc: "Get the description property: Human-readable description of the software packaged in the image."
returns:
description: "the description value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.containers.containerregistry.models.OciAnnotations.getDocumentation()"
fullName: "com.azure.containers.containerregistry.models.OciAnnotations.getDocumentation()"
name: "getDocumentation()"
nameWithType: "OciAnnotations.getDocumentation()"
summary: "Get the documentation property: URL to get documentation on the image."
syntax: "public String getDocumentation()"
desc: "Get the documentation property: URL to get documentation on the image."
returns:
description: "the documentation value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.containers.containerregistry.models.OciAnnotations.getLicenses()"
fullName: "com.azure.containers.containerregistry.models.OciAnnotations.getLicenses()"
name: "getLicenses()"
nameWithType: "OciAnnotations.getLicenses()"
summary: "Get the licenses property: License(s) under which contained software is distributed as an SPDX License Expression."
syntax: "public String getLicenses()"
desc: "Get the licenses property: License(s) under which contained software is distributed as an SPDX License Expression."
returns:
description: "the licenses value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.containers.containerregistry.models.OciAnnotations.getName()"
fullName: "com.azure.containers.containerregistry.models.OciAnnotations.getName()"
name: "getName()"
nameWithType: "OciAnnotations.getName()"
summary: "Get the name property: Name of the reference for a target."
syntax: "public String getName()"
desc: "Get the name property: Name of the reference for a target."
returns:
description: "the name value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.containers.containerregistry.models.OciAnnotations.getRevision()"
fullName: "com.azure.containers.containerregistry.models.OciAnnotations.getRevision()"
name: "getRevision()"
nameWithType: "OciAnnotations.getRevision()"
summary: "Get the revision property: Source control revision identifier for the packaged software."
syntax: "public String getRevision()"
desc: "Get the revision property: Source control revision identifier for the packaged software."
returns:
description: "the revision value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.containers.containerregistry.models.OciAnnotations.getSource()"
fullName: "com.azure.containers.containerregistry.models.OciAnnotations.getSource()"
name: "getSource()"
nameWithType: "OciAnnotations.getSource()"
summary: "Get the source property: URL to get source code for building the image."
syntax: "public String getSource()"
desc: "Get the source property: URL to get source code for building the image."
returns:
description: "the source value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.containers.containerregistry.models.OciAnnotations.getTitle()"
fullName: "com.azure.containers.containerregistry.models.OciAnnotations.getTitle()"
name: "getTitle()"
nameWithType: "OciAnnotations.getTitle()"
summary: "Get the title property: Human-readable title of the image."
syntax: "public String getTitle()"
desc: "Get the title property: Human-readable title of the image."
returns:
description: "the title value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.containers.containerregistry.models.OciAnnotations.getUrl()"
fullName: "com.azure.containers.containerregistry.models.OciAnnotations.getUrl()"
name: "getUrl()"
nameWithType: "OciAnnotations.getUrl()"
summary: "Get the url property: URL to find more information on the image."
syntax: "public String getUrl()"
desc: "Get the url property: URL to find more information on the image."
returns:
description: "the url value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.containers.containerregistry.models.OciAnnotations.getVendor()"
fullName: "com.azure.containers.containerregistry.models.OciAnnotations.getVendor()"
name: "getVendor()"
nameWithType: "OciAnnotations.getVendor()"
summary: "Get the vendor property: Name of the distributing entity, organization or individual."
syntax: "public String getVendor()"
desc: "Get the vendor property: Name of the distributing entity, organization or individual."
returns:
description: "the vendor value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.containers.containerregistry.models.OciAnnotations.getVersion()"
fullName: "com.azure.containers.containerregistry.models.OciAnnotations.getVersion()"
name: "getVersion()"
nameWithType: "OciAnnotations.getVersion()"
summary: "Get the version property: Version of the packaged software."
syntax: "public String getVersion()"
desc: "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:
description: "the version value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.containers.containerregistry.models.OciAnnotations.setAdditionalProperties(java.util.Map<java.lang.String,java.lang.Object>)"
fullName: "com.azure.containers.containerregistry.models.OciAnnotations.setAdditionalProperties(Map<String,Object> additionalProperties)"
name: "setAdditionalProperties(Map<String,Object> additionalProperties)"
nameWithType: "OciAnnotations.setAdditionalProperties(Map<String,Object> additionalProperties)"
summary: "Set the additional<wbr>Properties property: Additional information provided through arbitrary metadata."
parameters:
- description: "the additionalProperties value to set."
name: "additionalProperties"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Map.html\">Map</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>,<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>&gt;"
syntax: "public OciAnnotations setAdditionalProperties(Map<String,Object> additionalProperties)"
desc: "Set the additionalProperties property: Additional information provided through arbitrary metadata."
returns:
description: "the OciAnnotations object itself."
type: "<xref href=\"com.azure.containers.containerregistry.models.OciAnnotations?alt=com.azure.containers.containerregistry.models.OciAnnotations&text=OciAnnotations\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.containers.containerregistry.models.OciAnnotations.setAuthors(java.lang.String)"
fullName: "com.azure.containers.containerregistry.models.OciAnnotations.setAuthors(String authors)"
name: "setAuthors(String authors)"
nameWithType: "OciAnnotations.setAuthors(String authors)"
summary: "Set the authors property: Contact details of the people or organization responsible for the image."
parameters:
- description: "the authors value to set."
name: "authors"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public OciAnnotations setAuthors(String authors)"
desc: "Set the authors property: Contact details of the people or organization responsible for the image."
returns:
description: "the OciAnnotations object itself."
type: "<xref href=\"com.azure.containers.containerregistry.models.OciAnnotations?alt=com.azure.containers.containerregistry.models.OciAnnotations&text=OciAnnotations\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.containers.containerregistry.models.OciAnnotations.setCreatedOn(java.time.OffsetDateTime)"
fullName: "com.azure.containers.containerregistry.models.OciAnnotations.setCreatedOn(OffsetDateTime createdOn)"
name: "setCreatedOn(OffsetDateTime createdOn)"
nameWithType: "OciAnnotations.setCreatedOn(OffsetDateTime createdOn)"
summary: "Set the created<wbr>On property: Date and time on which the image was built (string, date-time as defined by https://tools.<wbr>ietf.<wbr>org/html/rfc3339\\#section-5.6)."
parameters:
- description: "the createdOn value to set."
name: "createdOn"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html\">OffsetDateTime</a>"
syntax: "public OciAnnotations setCreatedOn(OffsetDateTime createdOn)"
desc: "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)."
returns:
description: "the OciAnnotations object itself."
type: "<xref href=\"com.azure.containers.containerregistry.models.OciAnnotations?alt=com.azure.containers.containerregistry.models.OciAnnotations&text=OciAnnotations\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.containers.containerregistry.models.OciAnnotations.setDescription(java.lang.String)"
fullName: "com.azure.containers.containerregistry.models.OciAnnotations.setDescription(String description)"
name: "setDescription(String description)"
nameWithType: "OciAnnotations.setDescription(String description)"
summary: "Set the description property: Human-readable description of the software packaged in the image."
parameters:
- description: "the description value to set."
name: "description"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public OciAnnotations setDescription(String description)"
desc: "Set the description property: Human-readable description of the software packaged in the image."
returns:
description: "the OciAnnotations object itself."
type: "<xref href=\"com.azure.containers.containerregistry.models.OciAnnotations?alt=com.azure.containers.containerregistry.models.OciAnnotations&text=OciAnnotations\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.containers.containerregistry.models.OciAnnotations.setDocumentation(java.lang.String)"
fullName: "com.azure.containers.containerregistry.models.OciAnnotations.setDocumentation(String documentation)"
name: "setDocumentation(String documentation)"
nameWithType: "OciAnnotations.setDocumentation(String documentation)"
summary: "Set the documentation property: URL to get documentation on the image."
parameters:
- description: "the documentation value to set."
name: "documentation"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public OciAnnotations setDocumentation(String documentation)"
desc: "Set the documentation property: URL to get documentation on the image."
returns:
description: "the OciAnnotations object itself."
type: "<xref href=\"com.azure.containers.containerregistry.models.OciAnnotations?alt=com.azure.containers.containerregistry.models.OciAnnotations&text=OciAnnotations\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.containers.containerregistry.models.OciAnnotations.setLicenses(java.lang.String)"
fullName: "com.azure.containers.containerregistry.models.OciAnnotations.setLicenses(String licenses)"
name: "setLicenses(String licenses)"
nameWithType: "OciAnnotations.setLicenses(String licenses)"
summary: "Set the licenses property: License(s) under which contained software is distributed as an SPDX License Expression."
parameters:
- description: "the licenses value to set."
name: "licenses"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public OciAnnotations setLicenses(String licenses)"
desc: "Set the licenses property: License(s) under which contained software is distributed as an SPDX License Expression."
returns:
description: "the OciAnnotations object itself."
type: "<xref href=\"com.azure.containers.containerregistry.models.OciAnnotations?alt=com.azure.containers.containerregistry.models.OciAnnotations&text=OciAnnotations\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.containers.containerregistry.models.OciAnnotations.setName(java.lang.String)"
fullName: "com.azure.containers.containerregistry.models.OciAnnotations.setName(String name)"
name: "setName(String name)"
nameWithType: "OciAnnotations.setName(String name)"
summary: "Set the name property: Name of the reference for a target."
parameters:
- description: "the name value to set."
name: "name"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public OciAnnotations setName(String name)"
desc: "Set the name property: Name of the reference for a target."
returns:
description: "the OciAnnotations object itself."
type: "<xref href=\"com.azure.containers.containerregistry.models.OciAnnotations?alt=com.azure.containers.containerregistry.models.OciAnnotations&text=OciAnnotations\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.containers.containerregistry.models.OciAnnotations.setRevision(java.lang.String)"
fullName: "com.azure.containers.containerregistry.models.OciAnnotations.setRevision(String revision)"
name: "setRevision(String revision)"
nameWithType: "OciAnnotations.setRevision(String revision)"
summary: "Set the revision property: Source control revision identifier for the packaged software."
parameters:
- description: "the revision value to set."
name: "revision"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public OciAnnotations setRevision(String revision)"
desc: "Set the revision property: Source control revision identifier for the packaged software."
returns:
description: "the OciAnnotations object itself."
type: "<xref href=\"com.azure.containers.containerregistry.models.OciAnnotations?alt=com.azure.containers.containerregistry.models.OciAnnotations&text=OciAnnotations\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.containers.containerregistry.models.OciAnnotations.setSource(java.lang.String)"
fullName: "com.azure.containers.containerregistry.models.OciAnnotations.setSource(String source)"
name: "setSource(String source)"
nameWithType: "OciAnnotations.setSource(String source)"
summary: "Set the source property: URL to get source code for building the image."
parameters:
- description: "the source value to set."
name: "source"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public OciAnnotations setSource(String source)"
desc: "Set the source property: URL to get source code for building the image."
returns:
description: "the OciAnnotations object itself."
type: "<xref href=\"com.azure.containers.containerregistry.models.OciAnnotations?alt=com.azure.containers.containerregistry.models.OciAnnotations&text=OciAnnotations\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.containers.containerregistry.models.OciAnnotations.setTitle(java.lang.String)"
fullName: "com.azure.containers.containerregistry.models.OciAnnotations.setTitle(String title)"
name: "setTitle(String title)"
nameWithType: "OciAnnotations.setTitle(String title)"
summary: "Set the title property: Human-readable title of the image."
parameters:
- description: "the title value to set."
name: "title"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public OciAnnotations setTitle(String title)"
desc: "Set the title property: Human-readable title of the image."
returns:
description: "the OciAnnotations object itself."
type: "<xref href=\"com.azure.containers.containerregistry.models.OciAnnotations?alt=com.azure.containers.containerregistry.models.OciAnnotations&text=OciAnnotations\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.containers.containerregistry.models.OciAnnotations.setUrl(java.lang.String)"
fullName: "com.azure.containers.containerregistry.models.OciAnnotations.setUrl(String url)"
name: "setUrl(String url)"
nameWithType: "OciAnnotations.setUrl(String url)"
summary: "Set the url property: URL to find more information on the image."
parameters:
- description: "the url value to set."
name: "url"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public OciAnnotations setUrl(String url)"
desc: "Set the url property: URL to find more information on the image."
returns:
description: "the OciAnnotations object itself."
type: "<xref href=\"com.azure.containers.containerregistry.models.OciAnnotations?alt=com.azure.containers.containerregistry.models.OciAnnotations&text=OciAnnotations\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.containers.containerregistry.models.OciAnnotations.setVendor(java.lang.String)"
fullName: "com.azure.containers.containerregistry.models.OciAnnotations.setVendor(String vendor)"
name: "setVendor(String vendor)"
nameWithType: "OciAnnotations.setVendor(String vendor)"
summary: "Set the vendor property: Name of the distributing entity, organization or individual."
parameters:
- description: "the vendor value to set."
name: "vendor"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public OciAnnotations setVendor(String vendor)"
desc: "Set the vendor property: Name of the distributing entity, organization or individual."
returns:
description: "the OciAnnotations object itself."
type: "<xref href=\"com.azure.containers.containerregistry.models.OciAnnotations?alt=com.azure.containers.containerregistry.models.OciAnnotations&text=OciAnnotations\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.containers.containerregistry.models.OciAnnotations.setVersion(java.lang.String)"
fullName: "com.azure.containers.containerregistry.models.OciAnnotations.setVersion(String version)"
name: "setVersion(String version)"
nameWithType: "OciAnnotations.setVersion(String version)"
summary: "Set the version property: Version of the packaged software."
parameters:
- description: "the version value to set."
name: "version"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public OciAnnotations setVersion(String version)"
desc: "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."
returns:
description: "the OciAnnotations object itself."
type: "<xref href=\"com.azure.containers.containerregistry.models.OciAnnotations?alt=com.azure.containers.containerregistry.models.OciAnnotations&text=OciAnnotations\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.containers.containerregistry.models.OciAnnotations.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.containers.containerregistry.models.OciAnnotations.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "OciAnnotations.toJson(JsonWriter jsonWriter)"
parameters:
- name: "jsonWriter"
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
syntax: "public JsonWriter toJson(JsonWriter jsonWriter)"
exceptions:
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
returns:
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Additional information provided through arbitrary metadata."
implements:
- "<xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.containers.containerregistry.models.OciAnnotations?alt=com.azure.containers.containerregistry.models.OciAnnotations&text=OciAnnotations\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.containers.containerregistry.models"
artifact: com.azure:azure-containers-containerregistry:1.2.13