Class NsRecord
java.lang.Object
com.azure.resourcemanager.dns.models.NsRecord
An NS record.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
NsRecord
public NsRecord()Creates an instance of NsRecord class.
-
-
Method Details
-
nsdname
Get the nsdname property: The name server name for this NS record.- Returns:
- the nsdname value.
-
withNsdname
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.
-