Class MigrateMySqlRequest

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.appservice.models.ProxyOnlyResource
com.azure.resourcemanager.appservice.models.MigrateMySqlRequest

public final class MigrateMySqlRequest extends ProxyOnlyResource
MySQL migration request.
  • Constructor Details

    • MigrateMySqlRequest

      public MigrateMySqlRequest()
  • Method Details

    • withKind

      public MigrateMySqlRequest withKind(String kind)
      Set the kind property: Kind of resource.
      Overrides:
      withKind in class ProxyOnlyResource
      Parameters:
      kind - the kind value to set.
      Returns:
      the ProxyOnlyResource object itself.
    • connectionString

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

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

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

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

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