Class ValidateSyncMigrationInputSqlServerTaskOutput

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

public final class ValidateSyncMigrationInputSqlServerTaskOutput extends Object
Output for task that validates migration input for SQL sync migrations.
  • Constructor Details

    • ValidateSyncMigrationInputSqlServerTaskOutput

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

    • id

      public String id()
      Get the id property: Database identifier.
      Returns:
      the id value.
    • name

      public String name()
      Get the name property: Name of database.
      Returns:
      the name value.
    • validationErrors

      public List<ReportableException> validationErrors()
      Get the validationErrors property: Errors associated with a selected database object.
      Returns:
      the validationErrors value.
    • validate

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