Class MxRecord

java.lang.Object
com.microsoft.azure.management.dns.MxRecord

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

    • MxRecord

      public MxRecord()
  • Method Details

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