ParentT - the stage of the parent definition to return to after attaching this definitionpublic static interface DnsRecordSet.DefinitionStages.WithMXRecordMailExchange<ParentT>
| Modifier and Type | Method and 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.
|
DnsRecordSet.DefinitionStages.WithMXRecordMailExchangeOrAttachable<ParentT> withMailExchange(String mailExchangeHostName, int priority)
mailExchangeHostName - the host name of the mail exchange serverpriority - the priority for the mail exchange host, lower the value higher the priority/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/