Class ServerDnsAliasAcquisition
java.lang.Object
com.azure.resourcemanager.sql.models.ServerDnsAliasAcquisition
A server dns alias acquisition request.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ServerDnsAliasAcquisition class. -
Method Summary
Modifier and TypeMethodDescriptionGet the oldServerDnsAliasId property: The id of the server alias that will be acquired to point to this server instead.voidvalidate()Validates the instance.withOldServerDnsAliasId(String oldServerDnsAliasId) Set the oldServerDnsAliasId property: The id of the server alias that will be acquired to point to this server instead.
-
Constructor Details
-
ServerDnsAliasAcquisition
public ServerDnsAliasAcquisition()Creates an instance of ServerDnsAliasAcquisition class.
-
-
Method Details
-
oldServerDnsAliasId
Get the oldServerDnsAliasId property: The id of the server alias that will be acquired to point to this server instead.- Returns:
- the oldServerDnsAliasId value.
-
withOldServerDnsAliasId
Set the oldServerDnsAliasId property: The id of the server alias that will be acquired to point to this server instead.- Parameters:
oldServerDnsAliasId- the oldServerDnsAliasId value to set.- Returns:
- the ServerDnsAliasAcquisition object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-