PtrRecord Class
- java.
lang. Object - com.
azure. resourcemanager. dns. models. PtrRecord
- com.
Implements
public final class PtrRecord
implements JsonSerializable<PtrRecord>
A PTR record.
Constructor Summary
Constructor | Description |
---|---|
PtrRecord() |
Creates an instance of Ptr |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Ptr |
fromJson(JsonReader jsonReader)
Reads an instance of Ptr |
String |
ptrdname()
Get the ptrdname property: The PTR target domain name for this PTR record. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Ptr |
withPtrdname(String ptrdname)
Set the ptrdname property: The PTR target domain name for this PTR record. |
Methods inherited from java.lang.Object
Constructor Details
PtrRecord
public PtrRecord()
Creates an instance of PtrRecord class.
Method Details
fromJson
public static PtrRecord fromJson(JsonReader jsonReader)
Reads an instance of PtrRecord from the JsonReader.
Parameters:
Returns:
Throws:
ptrdname
public String ptrdname()
Get the ptrdname property: The PTR target domain name for this PTR record.
Returns:
toJson
validate
public void validate()
Validates the instance.
withPtrdname
public PtrRecord withPtrdname(String ptrdname)
Set the ptrdname property: The PTR target domain name for this PTR record.
Parameters:
Returns:
Applies to
Azure SDK for Java