MxRecord Class

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

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.

MxRecord withExchange(String exchange)

Set the exchange value.

MxRecord 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