Class PtrRecord
- java.lang.Object
-
- com.azure.resourcemanager.privatedns.models.PtrRecord
-
public final class PtrRecord extends Object
A PTR record.
-
-
Constructor Summary
Constructors Constructor Description PtrRecord()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringptrdname()Get the ptrdname property: The PTR target domain name for this PTR record.voidvalidate()Validates the instance.PtrRecordwithPtrdname(String ptrdname)Set the ptrdname property: The PTR target domain name for this PTR record.
-
-
-
Method Detail
-
ptrdname
public String ptrdname()
Get the ptrdname property: The PTR target domain name for this PTR record.- Returns:
- the ptrdname value.
-
withPtrdname
public PtrRecord withPtrdname(String ptrdname)
Set the ptrdname property: The PTR target domain name for this PTR record.- Parameters:
ptrdname- the ptrdname value to set.- Returns:
- the PtrRecord object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-