java.lang.Object
com.azure.resourcemanager.datamigration.models.DatabaseInfo

public final class DatabaseInfo extends Object
Project Database Details.
  • Constructor Details

    • DatabaseInfo

      public DatabaseInfo()
      Creates an instance of DatabaseInfo class.
  • Method Details

    • sourceDatabaseName

      public String sourceDatabaseName()
      Get the sourceDatabaseName property: Name of the database.
      Returns:
      the sourceDatabaseName value.
    • withSourceDatabaseName

      public DatabaseInfo withSourceDatabaseName(String sourceDatabaseName)
      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.