Class MxRecord
- java.lang.Object
-
- com.microsoft.azure.management.dns.MxRecord
-
public class MxRecord extends Object
An MX record.
-
-
Constructor Summary
Constructors Constructor Description MxRecord()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringexchange()Get the exchange value.Integerpreference()Get the preference value.MxRecordwithExchange(String exchange)Set the exchange value.MxRecordwithPreference(Integer preference)Set the preference value.
-
-
-
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
-
-