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

174 строки
11 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.privatedns.models.SrvRecord"
fullName: "com.azure.resourcemanager.privatedns.models.SrvRecord"
name: "SrvRecord"
nameWithType: "SrvRecord"
summary: "An SRV 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 **SrvRecord**</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.privatedns.models.SrvRecord?alt=com.azure.resourcemanager.privatedns.models.SrvRecord&text=SrvRecord\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.resourcemanager.privatedns.models.SrvRecord.SrvRecord()"
fullName: "com.azure.resourcemanager.privatedns.models.SrvRecord.SrvRecord()"
name: "SrvRecord()"
nameWithType: "SrvRecord.SrvRecord()"
summary: "Creates an instance of Srv<wbr>Record class."
syntax: "public SrvRecord()"
desc: "Creates an instance of SrvRecord class."
methods:
- uid: "com.azure.resourcemanager.privatedns.models.SrvRecord.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.privatedns.models.SrvRecord.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "SrvRecord.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Srv<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 SrvRecord fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the SrvRecord."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads an instance of SrvRecord from the JsonReader."
returns:
description: "An instance of SrvRecord 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.privatedns.models.SrvRecord?alt=com.azure.resourcemanager.privatedns.models.SrvRecord&text=SrvRecord\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.privatedns.models.SrvRecord.port()"
fullName: "com.azure.resourcemanager.privatedns.models.SrvRecord.port()"
name: "port()"
nameWithType: "SrvRecord.port()"
summary: "Get the port property: The port value for this SRV record."
syntax: "public Integer port()"
desc: "Get the port property: The port value for this SRV record."
returns:
description: "the port value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
- uid: "com.azure.resourcemanager.privatedns.models.SrvRecord.priority()"
fullName: "com.azure.resourcemanager.privatedns.models.SrvRecord.priority()"
name: "priority()"
nameWithType: "SrvRecord.priority()"
summary: "Get the priority property: The priority value for this SRV record."
syntax: "public Integer priority()"
desc: "Get the priority property: The priority value for this SRV record."
returns:
description: "the priority value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
- uid: "com.azure.resourcemanager.privatedns.models.SrvRecord.target()"
fullName: "com.azure.resourcemanager.privatedns.models.SrvRecord.target()"
name: "target()"
nameWithType: "SrvRecord.target()"
summary: "Get the target property: The target domain name for this SRV record."
syntax: "public String target()"
desc: "Get the target property: The target domain name for this SRV record."
returns:
description: "the target value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.privatedns.models.SrvRecord.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.privatedns.models.SrvRecord.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "SrvRecord.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.privatedns.models.SrvRecord.validate()"
fullName: "com.azure.resourcemanager.privatedns.models.SrvRecord.validate()"
name: "validate()"
nameWithType: "SrvRecord.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.privatedns.models.SrvRecord.weight()"
fullName: "com.azure.resourcemanager.privatedns.models.SrvRecord.weight()"
name: "weight()"
nameWithType: "SrvRecord.weight()"
summary: "Get the weight property: The weight value for this SRV record."
syntax: "public Integer weight()"
desc: "Get the weight property: The weight value for this SRV record."
returns:
description: "the weight value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
- uid: "com.azure.resourcemanager.privatedns.models.SrvRecord.withPort(java.lang.Integer)"
fullName: "com.azure.resourcemanager.privatedns.models.SrvRecord.withPort(Integer port)"
name: "withPort(Integer port)"
nameWithType: "SrvRecord.withPort(Integer port)"
summary: "Set the port property: The port value for this SRV record."
parameters:
- description: "the port value to set."
name: "port"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
syntax: "public SrvRecord withPort(Integer port)"
desc: "Set the port property: The port value for this SRV record."
returns:
description: "the SrvRecord object itself."
type: "<xref href=\"com.azure.resourcemanager.privatedns.models.SrvRecord?alt=com.azure.resourcemanager.privatedns.models.SrvRecord&text=SrvRecord\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.privatedns.models.SrvRecord.withPriority(java.lang.Integer)"
fullName: "com.azure.resourcemanager.privatedns.models.SrvRecord.withPriority(Integer priority)"
name: "withPriority(Integer priority)"
nameWithType: "SrvRecord.withPriority(Integer priority)"
summary: "Set the priority property: The priority value for this SRV record."
parameters:
- description: "the priority value to set."
name: "priority"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
syntax: "public SrvRecord withPriority(Integer priority)"
desc: "Set the priority property: The priority value for this SRV record."
returns:
description: "the SrvRecord object itself."
type: "<xref href=\"com.azure.resourcemanager.privatedns.models.SrvRecord?alt=com.azure.resourcemanager.privatedns.models.SrvRecord&text=SrvRecord\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.privatedns.models.SrvRecord.withTarget(java.lang.String)"
fullName: "com.azure.resourcemanager.privatedns.models.SrvRecord.withTarget(String target)"
name: "withTarget(String target)"
nameWithType: "SrvRecord.withTarget(String target)"
summary: "Set the target property: The target domain name for this SRV record."
parameters:
- description: "the target value to set."
name: "target"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public SrvRecord withTarget(String target)"
desc: "Set the target property: The target domain name for this SRV record."
returns:
description: "the SrvRecord object itself."
type: "<xref href=\"com.azure.resourcemanager.privatedns.models.SrvRecord?alt=com.azure.resourcemanager.privatedns.models.SrvRecord&text=SrvRecord\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.privatedns.models.SrvRecord.withWeight(java.lang.Integer)"
fullName: "com.azure.resourcemanager.privatedns.models.SrvRecord.withWeight(Integer weight)"
name: "withWeight(Integer weight)"
nameWithType: "SrvRecord.withWeight(Integer weight)"
summary: "Set the weight property: The weight value for this SRV record."
parameters:
- description: "the weight value to set."
name: "weight"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
syntax: "public SrvRecord withWeight(Integer weight)"
desc: "Set the weight property: The weight value for this SRV record."
returns:
description: "the SrvRecord object itself."
type: "<xref href=\"com.azure.resourcemanager.privatedns.models.SrvRecord?alt=com.azure.resourcemanager.privatedns.models.SrvRecord&text=SrvRecord\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "An SRV 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.privatedns.models.SrvRecord?alt=com.azure.resourcemanager.privatedns.models.SrvRecord&text=SrvRecord\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.resourcemanager.privatedns.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-privatedns:2.42.0