Class MigrationValidationOptions

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

public final class MigrationValidationOptions extends Object
Types of validations to run after the migration.
  • Constructor Details

    • MigrationValidationOptions

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

    • enableSchemaValidation

      public Boolean enableSchemaValidation()
      Get the enableSchemaValidation property: Allows to compare the schema information between source and target.
      Returns:
      the enableSchemaValidation value.
    • withEnableSchemaValidation

      public MigrationValidationOptions withEnableSchemaValidation(Boolean enableSchemaValidation)
      Set the enableSchemaValidation property: Allows to compare the schema information between source and target.
      Parameters:
      enableSchemaValidation - the enableSchemaValidation value to set.
      Returns:
      the MigrationValidationOptions object itself.
    • enableDataIntegrityValidation

      public Boolean enableDataIntegrityValidation()
      Get the enableDataIntegrityValidation property: Allows to perform a checksum based data integrity validation between source and target for the selected database / tables .
      Returns:
      the enableDataIntegrityValidation value.
    • withEnableDataIntegrityValidation

      public MigrationValidationOptions withEnableDataIntegrityValidation(Boolean enableDataIntegrityValidation)
      Set the enableDataIntegrityValidation property: Allows to perform a checksum based data integrity validation between source and target for the selected database / tables .
      Parameters:
      enableDataIntegrityValidation - the enableDataIntegrityValidation value to set.
      Returns:
      the MigrationValidationOptions object itself.
    • enableQueryAnalysisValidation

      public Boolean enableQueryAnalysisValidation()
      Get the enableQueryAnalysisValidation property: Allows to perform a quick and intelligent query analysis by retrieving queries from the source database and executes them in the target. The result will have execution statistics for executions in source and target databases for the extracted queries.
      Returns:
      the enableQueryAnalysisValidation value.
    • withEnableQueryAnalysisValidation

      public MigrationValidationOptions withEnableQueryAnalysisValidation(Boolean enableQueryAnalysisValidation)
      Set the enableQueryAnalysisValidation property: Allows to perform a quick and intelligent query analysis by retrieving queries from the source database and executes them in the target. The result will have execution statistics for executions in source and target databases for the extracted queries.
      Parameters:
      enableQueryAnalysisValidation - the enableQueryAnalysisValidation value to set.
      Returns:
      the MigrationValidationOptions object itself.
    • validate

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