Class MxRecord


  • public class MxRecord
    extends Object
    An MX record.
    • Constructor Detail

      • MxRecord

        public MxRecord()
    • Method Detail

      • preference

        public Integer preference()
        Get the preference value.
        Returns:
        the preference value
      • withPreference

        public MxRecord withPreference​(Integer preference)
        Set the preference value.
        Parameters:
        preference - the preference value to set
        Returns:
        the MxRecord object itself.
      • exchange

        public String exchange()
        Get the exchange value.
        Returns:
        the exchange value
      • withExchange

        public MxRecord withExchange​(String exchange)
        Set the exchange value.
        Parameters:
        exchange - the exchange value to set
        Returns:
        the MxRecord object itself.