Class MigrateMySqlRequestProperties

java.lang.Object
com.azure.resourcemanager.appservice.fluent.models.MigrateMySqlRequestProperties

public final class MigrateMySqlRequestProperties extends Object
MigrateMySqlRequest resource specific properties.
  • Constructor Details

    • MigrateMySqlRequestProperties

      public MigrateMySqlRequestProperties()
  • Method Details

    • connectionString

      public String connectionString()
      Get the connectionString property: Connection string to the remote MySQL database.
      Returns:
      the connectionString value.
    • withConnectionString

      public MigrateMySqlRequestProperties withConnectionString(String connectionString)
      Set the connectionString property: Connection string to the remote MySQL database.
      Parameters:
      connectionString - the connectionString value to set.
      Returns:
      the MigrateMySqlRequestProperties object itself.
    • migrationType

      public MySqlMigrationType migrationType()
      Get the migrationType property: The type of migration operation to be done.
      Returns:
      the migrationType value.
    • withMigrationType

      public MigrateMySqlRequestProperties withMigrationType(MySqlMigrationType migrationType)
      Set the migrationType property: The type of migration operation to be done.
      Parameters:
      migrationType - the migrationType value to set.
      Returns:
      the MigrateMySqlRequestProperties object itself.
    • validate

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