Class DatabaseInfo
java.lang.Object
com.azure.resourcemanager.datamigration.models.DatabaseInfo
Project Database Details.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the sourceDatabaseName property: Name of the database.void
validate()
Validates the instance.withSourceDatabaseName
(String sourceDatabaseName) Set the sourceDatabaseName property: Name of the database.
-
Constructor Details
-
DatabaseInfo
public DatabaseInfo()Creates an instance of DatabaseInfo class.
-
-
Method Details
-
sourceDatabaseName
Get the sourceDatabaseName property: Name of the database.- Returns:
- the sourceDatabaseName value.
-
withSourceDatabaseName
Set the sourceDatabaseName property: Name of the database.- Parameters:
sourceDatabaseName
- the sourceDatabaseName value to set.- Returns:
- the DatabaseInfo object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-