Class MigrateMySqlRequestProperties
- java.lang.Object
-
- com.azure.resourcemanager.appservice.fluent.models.MigrateMySqlRequestProperties
-
public final class MigrateMySqlRequestProperties extends Object
MigrateMySqlRequest resource specific properties.
-
-
Constructor Summary
Constructors Constructor Description MigrateMySqlRequestProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringconnectionString()Get the connectionString property: Connection string to the remote MySQL database.MySqlMigrationTypemigrationType()Get the migrationType property: The type of migration operation to be done.voidvalidate()Validates the instance.MigrateMySqlRequestPropertieswithConnectionString(String connectionString)Set the connectionString property: Connection string to the remote MySQL database.MigrateMySqlRequestPropertieswithMigrationType(MySqlMigrationType migrationType)Set the migrationType property: The type of migration operation to be done.
-
-
-
Method Detail
-
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.
-
-