Interface PrivateDnsRecordSet.DefinitionStages.WithMXRecordMailExchange<ParentT>
- Type Parameters:
ParentT- the stage of the parent definition to return to after attaching this definition
- All Known Subinterfaces:
PrivateDnsRecordSet.Definition<ParentT>,PrivateDnsRecordSet.DefinitionStages.MXRecordSetBlank<ParentT>,PrivateDnsRecordSet.DefinitionStages.WithMXRecordMailExchangeOrAttachable<ParentT>
- Enclosing interface:
- PrivateDnsRecordSet.DefinitionStages
public static interface PrivateDnsRecordSet.DefinitionStages.WithMXRecordMailExchange<ParentT>
The stage of the MX record set definition allowing to add first MX record.
-
Method Summary
Modifier and TypeMethodDescriptionwithMailExchange(String mailExchangeHostName, int priority) Creates and assigns priority to a MX record with the provided mail exchange server in this record set.
-
Method Details
-
withMailExchange
PrivateDnsRecordSet.DefinitionStages.WithMXRecordMailExchangeOrAttachable<ParentT> 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 definition
-