Class ManagedServerDnsAliasCreation
java.lang.Object
com.azure.resourcemanager.sql.models.ManagedServerDnsAliasCreation
A managed server dns alias creation request.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ManagedServerDnsAliasCreation class. -
Method Summary
Modifier and TypeMethodDescriptionGet the createDnsRecord property: Whether or not DNS record should be created for this alias.voidvalidate()Validates the instance.withCreateDnsRecord(Boolean createDnsRecord) Set the createDnsRecord property: Whether or not DNS record should be created for this alias.
-
Constructor Details
-
ManagedServerDnsAliasCreation
public ManagedServerDnsAliasCreation()Creates an instance of ManagedServerDnsAliasCreation class.
-
-
Method Details
-
createDnsRecord
Get the createDnsRecord property: Whether or not DNS record should be created for this alias.- Returns:
- the createDnsRecord value.
-
withCreateDnsRecord
Set the createDnsRecord property: Whether or not DNS record should be created for this alias.- Parameters:
createDnsRecord- the createDnsRecord value to set.- Returns:
- the ManagedServerDnsAliasCreation object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-