Class MigrateSqlServerSqlMITaskOutputDatabaseLevel

java.lang.Object
com.azure.resourcemanager.datamigration.models.MigrateSqlServerSqlMITaskOutput
com.azure.resourcemanager.datamigration.models.MigrateSqlServerSqlMITaskOutputDatabaseLevel

public final class MigrateSqlServerSqlMITaskOutputDatabaseLevel extends MigrateSqlServerSqlMITaskOutput
The MigrateSqlServerSqlMITaskOutputDatabaseLevel model.
  • Constructor Details

    • MigrateSqlServerSqlMITaskOutputDatabaseLevel

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

    • databaseName

      public String databaseName()
      Get the databaseName property: Name of the database.
      Returns:
      the databaseName value.
    • sizeMB

      public Double sizeMB()
      Get the sizeMB property: Size of the database in megabytes.
      Returns:
      the sizeMB value.
    • state

      public MigrationState state()
      Get the state property: Current state of migration.
      Returns:
      the state value.
    • stage

      public DatabaseMigrationStage stage()
      Get the stage property: Current stage of migration.
      Returns:
      the stage value.
    • startedOn

      public OffsetDateTime startedOn()
      Get the startedOn property: Migration start time.
      Returns:
      the startedOn value.
    • endedOn

      public OffsetDateTime endedOn()
      Get the endedOn property: Migration end time.
      Returns:
      the endedOn value.
    • message

      public String message()
      Get the message property: Migration progress message.
      Returns:
      the message value.
    • exceptionsAndWarnings

      public List<ReportableException> exceptionsAndWarnings()
      Get the exceptionsAndWarnings property: Migration exceptions and warnings.
      Returns:
      the exceptionsAndWarnings value.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class MigrateSqlServerSqlMITaskOutput
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.