DnsRecordSet.UpdateStages.WithMXRecordMailExchange Interface
public static interface DnsRecordSet.UpdateStages.WithMXRecordMailExchange
The stage of the MX record set definition allowing to add or remove MX record.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
Update |
withMailExchange(String mailExchangeHostName, int priority)
Creates and assigns priority to a MX record with the provided mail exchange server in this record set. |
abstract
Update |
withoutMailExchange(String mailExchangeHostName, int priority)
Removes MX record with the provided mail exchange server and priority from this record set. |
Method Details
withMailExchange
public abstract DnsRecordSet.UpdateMXRecordSet withMailExchange(String mailExchangeHostName, int priority)
Creates and assigns priority to a MX record with the provided mail exchange server in this record set.
Parameters:
Returns:
withoutMailExchange
public abstract DnsRecordSet.UpdateMXRecordSet withoutMailExchange(String mailExchangeHostName, int priority)
Removes MX record with the provided mail exchange server and priority from this record set.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for