Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. Code generated by Microsoft (R) AutoRest Code Generator.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */
package com.microsoft.azure.management.sql; import com.fasterxml.jackson.annotation.JsonProperty;
A server DNS alias acquisition request.
/** * A server DNS alias acquisition request. */
public class ServerDnsAliasAcquisition {
The id of the server alias that will be acquired to point to this server instead.
/** * The id of the server alias that will be acquired to point to this server * instead. */
@JsonProperty(value = "oldServerDnsAliasId") private String oldServerDnsAliasId;
Get the id of the server alias that will be acquired to point to this server instead.
Returns:the oldServerDnsAliasId value
/** * Get the id of the server alias that will be acquired to point to this server instead. * * @return the oldServerDnsAliasId value */
public String oldServerDnsAliasId() { return this.oldServerDnsAliasId; }
Set the id of the server alias that will be acquired to point to this server instead.
Params:
  • oldServerDnsAliasId – the oldServerDnsAliasId value to set
Returns:the ServerDnsAliasAcquisition object itself.
/** * Set the id of the server alias that will be acquired to point to this server instead. * * @param oldServerDnsAliasId the oldServerDnsAliasId value to set * @return the ServerDnsAliasAcquisition object itself. */
public ServerDnsAliasAcquisition withOldServerDnsAliasId(String oldServerDnsAliasId) { this.oldServerDnsAliasId = oldServerDnsAliasId; return this; } }