Class MigrateMySqlRequestProperties
java.lang.Object
com.azure.resourcemanager.appservice.fluent.models.MigrateMySqlRequestProperties
MigrateMySqlRequest resource specific properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the connectionString property: Connection string to the remote MySQL database.Get the migrationType property: The type of migration operation to be done.void
validate()
Validates the instance.withConnectionString
(String connectionString) Set the connectionString property: Connection string to the remote MySQL database.withMigrationType
(MySqlMigrationType migrationType) Set the migrationType property: The type of migration operation to be done.
-
Constructor Details
-
MigrateMySqlRequestProperties
public MigrateMySqlRequestProperties()
-
-
Method Details
-
connectionString
Get the connectionString property: Connection string to the remote MySQL database.- Returns:
- the connectionString value.
-
withConnectionString
Set the connectionString property: Connection string to the remote MySQL database.- Parameters:
connectionString
- the connectionString value to set.- Returns:
- the MigrateMySqlRequestProperties object itself.
-
migrationType
Get the migrationType property: The type of migration operation to be done.- Returns:
- the migrationType value.
-
withMigrationType
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.
-