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 Details

    • 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 server
      priority - the priority for the mail exchange host, lower the value higher the priority
      Returns:
      the next stage of the definition