Class NsRecord

java.lang.Object
com.azure.resourcemanager.dns.models.NsRecord

public final class NsRecord extends Object
An NS record.
  • Constructor Details

    • NsRecord

      public NsRecord()
      Creates an instance of NsRecord class.
  • Method Details

    • 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.