Class ARecord


  • public final class ARecord
    extends Object
    An A record.
    • Constructor Detail

      • ARecord

        public ARecord()
    • Method Detail

      • ipv4Address

        public String ipv4Address()
        Get the ipv4Address property: The IPv4 address of this A record.
        Returns:
        the ipv4Address value.
      • withIpv4Address

        public ARecord withIpv4Address​(String ipv4Address)
        Set the ipv4Address property: The IPv4 address of this A record.
        Parameters:
        ipv4Address - the ipv4Address value to set.
        Returns:
        the ARecord object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.