Interface PrivateDnsRecordSet.UpdateStages.WithMXRecordMailExchange
-
- All Known Subinterfaces:
PrivateDnsRecordSet.UpdateCombined,PrivateDnsRecordSet.UpdateMXRecordSet
- Enclosing interface:
- PrivateDnsRecordSet.UpdateStages
public static interface PrivateDnsRecordSet.UpdateStages.WithMXRecordMailExchangeThe stage of the MX record set definition allowing to add or remove MX record.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PrivateDnsRecordSet.UpdateMXRecordSetwithMailExchange(String mailExchangeHostName, int priority)Creates and assigns priority to a MX record with the provided mail exchange server in this record set.PrivateDnsRecordSet.UpdateMXRecordSetwithoutMailExchange(String mailExchangeHostName, int priority)Removes MX record with the provided mail exchange server and priority from this record set.
-
-
-
Method Detail
-
withMailExchange
PrivateDnsRecordSet.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:
mailExchangeHostName- the host name of the mail exchange serverpriority- the priority for the mail exchange host, lower the value higher the priority- Returns:
- the next stage of the record set update
-
withoutMailExchange
PrivateDnsRecordSet.UpdateMXRecordSet withoutMailExchange(String mailExchangeHostName, int priority)
Removes MX record with the provided mail exchange server and priority from this record set.- Parameters:
mailExchangeHostName- the host name of the mail exchange serverpriority- the priority for the mail exchange host, lower the value higher the priority- Returns:
- the next stage of the record set update
-
-