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

126 строки
8.0 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.dns.models.MxRecord"
fullName: "com.azure.resourcemanager.dns.models.MxRecord"
name: "MxRecord"
nameWithType: "MxRecord"
summary: "An MX record."
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 **MxRecord**</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.dns.models.MxRecord?alt=com.azure.resourcemanager.dns.models.MxRecord&text=MxRecord\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.resourcemanager.dns.models.MxRecord.MxRecord()"
fullName: "com.azure.resourcemanager.dns.models.MxRecord.MxRecord()"
name: "MxRecord()"
nameWithType: "MxRecord.MxRecord()"
summary: "Creates an instance of Mx<wbr>Record class."
syntax: "public MxRecord()"
desc: "Creates an instance of MxRecord class."
methods:
- uid: "com.azure.resourcemanager.dns.models.MxRecord.exchange()"
fullName: "com.azure.resourcemanager.dns.models.MxRecord.exchange()"
name: "exchange()"
nameWithType: "MxRecord.exchange()"
summary: "Get the exchange property: The domain name of the mail host for this MX record."
syntax: "public String exchange()"
desc: "Get the exchange property: The domain name of the mail host for this MX record."
returns:
description: "the exchange value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.dns.models.MxRecord.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.dns.models.MxRecord.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "MxRecord.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Mx<wbr>Record 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 MxRecord fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the MxRecord."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads an instance of MxRecord from the JsonReader."
returns:
description: "An instance of MxRecord if the JsonReader was pointing to an instance of it, or null if it was pointing\n to JSON null."
type: "<xref href=\"com.azure.resourcemanager.dns.models.MxRecord?alt=com.azure.resourcemanager.dns.models.MxRecord&text=MxRecord\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.dns.models.MxRecord.preference()"
fullName: "com.azure.resourcemanager.dns.models.MxRecord.preference()"
name: "preference()"
nameWithType: "MxRecord.preference()"
summary: "Get the preference property: The preference value for this MX record."
syntax: "public Integer preference()"
desc: "Get the preference property: The preference value for this MX record."
returns:
description: "the preference value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
- uid: "com.azure.resourcemanager.dns.models.MxRecord.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.dns.models.MxRecord.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "MxRecord.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.dns.models.MxRecord.validate()"
fullName: "com.azure.resourcemanager.dns.models.MxRecord.validate()"
name: "validate()"
nameWithType: "MxRecord.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.dns.models.MxRecord.withExchange(java.lang.String)"
fullName: "com.azure.resourcemanager.dns.models.MxRecord.withExchange(String exchange)"
name: "withExchange(String exchange)"
nameWithType: "MxRecord.withExchange(String exchange)"
summary: "Set the exchange property: The domain name of the mail host for this MX record."
parameters:
- description: "the exchange value to set."
name: "exchange"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public MxRecord withExchange(String exchange)"
desc: "Set the exchange property: The domain name of the mail host for this MX record."
returns:
description: "the MxRecord object itself."
type: "<xref href=\"com.azure.resourcemanager.dns.models.MxRecord?alt=com.azure.resourcemanager.dns.models.MxRecord&text=MxRecord\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.dns.models.MxRecord.withPreference(java.lang.Integer)"
fullName: "com.azure.resourcemanager.dns.models.MxRecord.withPreference(Integer preference)"
name: "withPreference(Integer preference)"
nameWithType: "MxRecord.withPreference(Integer preference)"
summary: "Set the preference property: The preference value for this MX record."
parameters:
- description: "the preference value to set."
name: "preference"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
syntax: "public MxRecord withPreference(Integer preference)"
desc: "Set the preference property: The preference value for this MX record."
returns:
description: "the MxRecord object itself."
type: "<xref href=\"com.azure.resourcemanager.dns.models.MxRecord?alt=com.azure.resourcemanager.dns.models.MxRecord&text=MxRecord\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "An MX record."
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.dns.models.MxRecord?alt=com.azure.resourcemanager.dns.models.MxRecord&text=MxRecord\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.resourcemanager.dns.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-dns:2.42.0