azure-docs-sdk-java/docs-ref-autogen/com.azure.resourcemanager.d...

122 строки
8.0 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.dataprotection.models.RetentionTag"
fullName: "com.azure.resourcemanager.dataprotection.models.RetentionTag"
name: "RetentionTag"
nameWithType: "RetentionTag"
summary: "Retention<wbr>Tag Retention tag."
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 **RetentionTag**</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.resourcemanager.dataprotection.models.RetentionTag?alt=com.azure.resourcemanager.dataprotection.models.RetentionTag&text=RetentionTag\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.resourcemanager.dataprotection.models.RetentionTag.RetentionTag()"
fullName: "com.azure.resourcemanager.dataprotection.models.RetentionTag.RetentionTag()"
name: "RetentionTag()"
nameWithType: "RetentionTag.RetentionTag()"
summary: "Creates an instance of Retention<wbr>Tag class."
syntax: "public RetentionTag()"
desc: "Creates an instance of RetentionTag class."
methods:
- uid: "com.azure.resourcemanager.dataprotection.models.RetentionTag.etag()"
fullName: "com.azure.resourcemanager.dataprotection.models.RetentionTag.etag()"
name: "etag()"
nameWithType: "RetentionTag.etag()"
summary: "Get the etag property: Retention Tag version."
syntax: "public String etag()"
desc: "Get the etag property: Retention Tag version."
returns:
description: "the etag value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.dataprotection.models.RetentionTag.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.dataprotection.models.RetentionTag.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "RetentionTag.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Retention<wbr>Tag 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 RetentionTag fromJson(JsonReader jsonReader)"
exceptions:
- description: "If the deserialized JSON object was missing any required properties."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads an instance of RetentionTag from the JsonReader."
returns:
description: "An instance of RetentionTag 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.resourcemanager.dataprotection.models.RetentionTag?alt=com.azure.resourcemanager.dataprotection.models.RetentionTag&text=RetentionTag\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.dataprotection.models.RetentionTag.id()"
fullName: "com.azure.resourcemanager.dataprotection.models.RetentionTag.id()"
name: "id()"
nameWithType: "RetentionTag.id()"
summary: "Get the id property: Retention Tag version."
syntax: "public String id()"
desc: "Get the id property: Retention Tag version."
returns:
description: "the id value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.dataprotection.models.RetentionTag.tagName()"
fullName: "com.azure.resourcemanager.dataprotection.models.RetentionTag.tagName()"
name: "tagName()"
nameWithType: "RetentionTag.tagName()"
summary: "Get the tag<wbr>Name property: Retention Tag Name to relate it to retention rule."
syntax: "public String tagName()"
desc: "Get the tagName property: Retention Tag Name to relate it to retention rule."
returns:
description: "the tagName value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.dataprotection.models.RetentionTag.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.dataprotection.models.RetentionTag.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "RetentionTag.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\" />"
- uid: "com.azure.resourcemanager.dataprotection.models.RetentionTag.validate()"
fullName: "com.azure.resourcemanager.dataprotection.models.RetentionTag.validate()"
name: "validate()"
nameWithType: "RetentionTag.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.dataprotection.models.RetentionTag.withTagName(java.lang.String)"
fullName: "com.azure.resourcemanager.dataprotection.models.RetentionTag.withTagName(String tagName)"
name: "withTagName(String tagName)"
nameWithType: "RetentionTag.withTagName(String tagName)"
summary: "Set the tag<wbr>Name property: Retention Tag Name to relate it to retention rule."
parameters:
- description: "the tagName value to set."
name: "tagName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public RetentionTag withTagName(String tagName)"
desc: "Set the tagName property: Retention Tag Name to relate it to retention rule."
returns:
description: "the RetentionTag object itself."
type: "<xref href=\"com.azure.resourcemanager.dataprotection.models.RetentionTag?alt=com.azure.resourcemanager.dataprotection.models.RetentionTag&text=RetentionTag\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "RetentionTag Retention tag."
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.resourcemanager.dataprotection.models.RetentionTag?alt=com.azure.resourcemanager.dataprotection.models.RetentionTag&text=RetentionTag\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.resourcemanager.dataprotection.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-dataprotection:1.3.0