Class NsRecord
- java.lang.Object
-
- com.azure.resourcemanager.dns.models.NsRecord
-
public final class NsRecord extends Object
An NS record.
-
-
Constructor Summary
Constructors Constructor Description NsRecord()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringnsdname()Get the nsdname property: The name server name for this NS record.voidvalidate()Validates the instance.NsRecordwithNsdname(String nsdname)Set the nsdname property: The name server name for this NS record.
-
-
-
Method Detail
-
nsdname
public String nsdname()
Get the nsdname property: The name server name for this NS record.- Returns:
- the nsdname value.
-
withNsdname
public NsRecord withNsdname(String nsdname)
Set the nsdname property: The name server name for this NS record.- Parameters:
nsdname- the nsdname value to set.- Returns:
- the NsRecord object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-