MxRecord Class
- java.
lang. Object - com.
microsoft. azure. management. dns. MxRecord
- com.
public class MxRecord
An MX record.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
exchange()
Get the exchange value. |
Integer |
preference()
Get the preference value. |
Mx |
withExchange(String exchange)
Set the exchange value. |
Mx |
withPreference(Integer preference)
Set the preference value. |
Method Details
exchange
public String exchange()
Get the exchange value.
Returns:
the exchange value
preference
public Integer preference()
Get the preference value.
Returns:
the preference value
withExchange
public MxRecord withExchange(String exchange)
Set the exchange value.
Parameters:
exchange
- the exchange value to set
Returns:
the MxRecord object itself.
withPreference
public MxRecord withPreference(Integer preference)
Set the preference value.
Parameters:
preference
- the preference value to set
Returns:
the MxRecord object itself.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java