Class PtrRecord


  • public final class PtrRecord
    extends Object
    A PTR record.
    • Constructor Detail

      • PtrRecord

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