102 строки
7.7 KiB
YAML
102 строки
7.7 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.resourcemanager.cosmos.models.FailoverPolicies"
|
|
fullName: "com.azure.resourcemanager.cosmos.models.FailoverPolicies"
|
|
name: "FailoverPolicies"
|
|
nameWithType: "FailoverPolicies"
|
|
summary: "The list of new failover policies for the failover priority change."
|
|
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 **FailoverPolicies**</br> implements <xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.resourcemanager.cosmos.models.FailoverPolicies?alt=com.azure.resourcemanager.cosmos.models.FailoverPolicies&text=FailoverPolicies\" data-throw-if-not-resolved=\"False\" />>"
|
|
constructors:
|
|
- uid: "com.azure.resourcemanager.cosmos.models.FailoverPolicies.FailoverPolicies()"
|
|
fullName: "com.azure.resourcemanager.cosmos.models.FailoverPolicies.FailoverPolicies()"
|
|
name: "FailoverPolicies()"
|
|
nameWithType: "FailoverPolicies.FailoverPolicies()"
|
|
summary: "Creates an instance of Failover<wbr>Policies class."
|
|
syntax: "public FailoverPolicies()"
|
|
desc: "Creates an instance of FailoverPolicies class."
|
|
methods:
|
|
- uid: "com.azure.resourcemanager.cosmos.models.FailoverPolicies.failoverPolicies()"
|
|
fullName: "com.azure.resourcemanager.cosmos.models.FailoverPolicies.failoverPolicies()"
|
|
name: "failoverPolicies()"
|
|
nameWithType: "FailoverPolicies.failoverPolicies()"
|
|
summary: "Get the failover<wbr>Policies property: List of failover policies."
|
|
syntax: "public List<FailoverPolicy> failoverPolicies()"
|
|
desc: "Get the failoverPolicies property: List of failover policies."
|
|
returns:
|
|
description: "the failoverPolicies value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a><<xref href=\"com.azure.resourcemanager.cosmos.models.FailoverPolicy?alt=com.azure.resourcemanager.cosmos.models.FailoverPolicy&text=FailoverPolicy\" data-throw-if-not-resolved=\"False\" />>"
|
|
- uid: "com.azure.resourcemanager.cosmos.models.FailoverPolicies.fromJson(com.azure.json.JsonReader)"
|
|
fullName: "com.azure.resourcemanager.cosmos.models.FailoverPolicies.fromJson(JsonReader jsonReader)"
|
|
name: "fromJson(JsonReader jsonReader)"
|
|
nameWithType: "FailoverPolicies.fromJson(JsonReader jsonReader)"
|
|
summary: "Reads an instance of Failover<wbr>Policies 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 FailoverPolicies 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 FailoverPolicies from the JsonReader."
|
|
returns:
|
|
description: "An instance of FailoverPolicies 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.cosmos.models.FailoverPolicies?alt=com.azure.resourcemanager.cosmos.models.FailoverPolicies&text=FailoverPolicies\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.cosmos.models.FailoverPolicies.toJson(com.azure.json.JsonWriter)"
|
|
fullName: "com.azure.resourcemanager.cosmos.models.FailoverPolicies.toJson(JsonWriter jsonWriter)"
|
|
name: "toJson(JsonWriter jsonWriter)"
|
|
nameWithType: "FailoverPolicies.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.cosmos.models.FailoverPolicies.validate()"
|
|
fullName: "com.azure.resourcemanager.cosmos.models.FailoverPolicies.validate()"
|
|
name: "validate()"
|
|
nameWithType: "FailoverPolicies.validate()"
|
|
summary: "Validates the instance."
|
|
syntax: "public void validate()"
|
|
desc: "Validates the instance."
|
|
- uid: "com.azure.resourcemanager.cosmos.models.FailoverPolicies.withFailoverPolicies(java.util.List<com.azure.resourcemanager.cosmos.models.FailoverPolicy>)"
|
|
fullName: "com.azure.resourcemanager.cosmos.models.FailoverPolicies.withFailoverPolicies(List<FailoverPolicy> failoverPolicies)"
|
|
name: "withFailoverPolicies(List<FailoverPolicy> failoverPolicies)"
|
|
nameWithType: "FailoverPolicies.withFailoverPolicies(List<FailoverPolicy> failoverPolicies)"
|
|
summary: "Set the failover<wbr>Policies property: List of failover policies."
|
|
parameters:
|
|
- description: "the failoverPolicies value to set."
|
|
name: "failoverPolicies"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a><<xref href=\"com.azure.resourcemanager.cosmos.models.FailoverPolicy?alt=com.azure.resourcemanager.cosmos.models.FailoverPolicy&text=FailoverPolicy\" data-throw-if-not-resolved=\"False\" />>"
|
|
syntax: "public FailoverPolicies withFailoverPolicies(List<FailoverPolicy> failoverPolicies)"
|
|
desc: "Set the failoverPolicies property: List of failover policies."
|
|
returns:
|
|
description: "the FailoverPolicies object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.cosmos.models.FailoverPolicies?alt=com.azure.resourcemanager.cosmos.models.FailoverPolicies&text=FailoverPolicies\" data-throw-if-not-resolved=\"False\" />"
|
|
type: "class"
|
|
desc: "The list of new failover policies for the failover priority change."
|
|
implements:
|
|
- "<xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.resourcemanager.cosmos.models.FailoverPolicies?alt=com.azure.resourcemanager.cosmos.models.FailoverPolicies&text=FailoverPolicies\" data-throw-if-not-resolved=\"False\" />>"
|
|
metadata: {}
|
|
package: "com.azure.resourcemanager.cosmos.models"
|
|
artifact: com.azure.resourcemanager:azure-resourcemanager-cosmos:2.44.0
|