Interface DnsRecordSet.DefinitionStages.WithMXRecordMailExchange<ParentT>
-
- Type Parameters:
ParentT- the stage of the parent definition to return to after attaching this definition
- All Known Subinterfaces:
DnsRecordSet.Definition<ParentT>,DnsRecordSet.DefinitionStages.MXRecordSetBlank<ParentT>,DnsRecordSet.DefinitionStages.WithMXRecordMailExchangeOrAttachable<ParentT>
- Enclosing interface:
- DnsRecordSet.DefinitionStages
public static interface DnsRecordSet.DefinitionStages.WithMXRecordMailExchange<ParentT>The stage of the MX record set definition allowing to add first MX record.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DnsRecordSet.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.
-
-
-
Method Detail
-
withMailExchange
DnsRecordSet.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
-
-