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

112 строки
7.5 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.dataprotection.models.BasePolicyRule"
fullName: "com.azure.resourcemanager.dataprotection.models.BasePolicyRule"
name: "BasePolicyRule"
nameWithType: "BasePolicyRule"
summary: "Base<wbr>Policy<wbr>Rule Base<wbr>Policy Rule."
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 class **BasePolicyRule**</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.BasePolicyRule?alt=com.azure.resourcemanager.dataprotection.models.BasePolicyRule&text=BasePolicyRule\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.resourcemanager.dataprotection.models.BasePolicyRule.BasePolicyRule()"
fullName: "com.azure.resourcemanager.dataprotection.models.BasePolicyRule.BasePolicyRule()"
name: "BasePolicyRule()"
nameWithType: "BasePolicyRule.BasePolicyRule()"
summary: "Creates an instance of Base<wbr>Policy<wbr>Rule class."
syntax: "public BasePolicyRule()"
desc: "Creates an instance of BasePolicyRule class."
methods:
- uid: "com.azure.resourcemanager.dataprotection.models.BasePolicyRule.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.dataprotection.models.BasePolicyRule.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "BasePolicyRule.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Base<wbr>Policy<wbr>Rule 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 BasePolicyRule 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 BasePolicyRule from the JsonReader."
returns:
description: "An instance of BasePolicyRule 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.BasePolicyRule?alt=com.azure.resourcemanager.dataprotection.models.BasePolicyRule&text=BasePolicyRule\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.dataprotection.models.BasePolicyRule.name()"
fullName: "com.azure.resourcemanager.dataprotection.models.BasePolicyRule.name()"
name: "name()"
nameWithType: "BasePolicyRule.name()"
summary: "Get the name property: The name property."
syntax: "public String name()"
desc: "Get the name property: The name property."
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.resourcemanager.dataprotection.models.BasePolicyRule.objectType()"
fullName: "com.azure.resourcemanager.dataprotection.models.BasePolicyRule.objectType()"
name: "objectType()"
nameWithType: "BasePolicyRule.objectType()"
summary: "Get the object<wbr>Type property: The object<wbr>Type property."
syntax: "public String objectType()"
desc: "Get the objectType property: The objectType property."
returns:
description: "the objectType value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.dataprotection.models.BasePolicyRule.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.dataprotection.models.BasePolicyRule.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "BasePolicyRule.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.BasePolicyRule.validate()"
fullName: "com.azure.resourcemanager.dataprotection.models.BasePolicyRule.validate()"
name: "validate()"
nameWithType: "BasePolicyRule.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.dataprotection.models.BasePolicyRule.withName(java.lang.String)"
fullName: "com.azure.resourcemanager.dataprotection.models.BasePolicyRule.withName(String name)"
name: "withName(String name)"
nameWithType: "BasePolicyRule.withName(String name)"
summary: "Set the name property: The name property."
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 BasePolicyRule withName(String name)"
desc: "Set the name property: The name property."
returns:
description: "the BasePolicyRule object itself."
type: "<xref href=\"com.azure.resourcemanager.dataprotection.models.BasePolicyRule?alt=com.azure.resourcemanager.dataprotection.models.BasePolicyRule&text=BasePolicyRule\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "BasePolicyRule BasePolicy Rule."
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.BasePolicyRule?alt=com.azure.resourcemanager.dataprotection.models.BasePolicyRule&text=BasePolicyRule\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.resourcemanager.dataprotection.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-dataprotection:1.3.0