Class MigrateMySqlRequest
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.appservice.models.ProxyOnlyResource
com.azure.resourcemanager.appservice.models.MigrateMySqlRequest
MySQL migration request.
-
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.Set the kind property: Kind of resource.withMigrationType
(MySqlMigrationType migrationType) Set the migrationType property: The type of migration operation to be done.Methods inherited from class com.azure.resourcemanager.appservice.models.ProxyOnlyResource
kind
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
MigrateMySqlRequest
public MigrateMySqlRequest()
-
-
Method Details
-
withKind
Set the kind property: Kind of resource.- Overrides:
withKind
in classProxyOnlyResource
- Parameters:
kind
- the kind value to set.- Returns:
- the ProxyOnlyResource object itself.
-
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 MigrateMySqlRequest 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 MigrateMySqlRequest object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classProxyOnlyResource
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-