DnsRecordSet.UpdateDefinitionStages.WithMXRecordMailExchange<ParentT> Interface

Type Parameters

ParentT

the stage of the parent definition to return to after attaching this definition

public static interface DnsRecordSet.UpdateDefinitionStages.WithMXRecordMailExchange

The stage of the MX record set definition allowing to add first MX record.

Method Summary

Modifier and Type Method and Description
abstract 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 Details

withMailExchange

public abstract DnsRecordSet.UpdateDefinitionStages.WithMXRecordMailExchangeOrAttachable 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

Applies to