Class MxRecord
java.lang.Object
com.microsoft.azure.management.dns.MxRecord
An MX record.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexchange()Get the exchange value.Get the preference value.withExchange(String exchange) Set the exchange value.withPreference(Integer preference) Set the preference value.
-
Constructor Details
-
MxRecord
public MxRecord()
-
-
Method Details
-
preference
Get the preference value.- Returns:
- the preference value
-
withPreference
Set the preference value.- Parameters:
preference- the preference value to set- Returns:
- the MxRecord object itself.
-
exchange
Get the exchange value.- Returns:
- the exchange value
-
withExchange
Set the exchange value.- Parameters:
exchange- the exchange value to set- Returns:
- the MxRecord object itself.
-