Class NsRecord


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

      • NsRecord

        public NsRecord()
    • 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.