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 Summary
Constructors Constructor Description MigrateMySqlRequest()
-
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.MigrateMySqlRequestwithConnectionString(String connectionString)Set the connectionString property: Connection string to the remote MySQL database.MigrateMySqlRequestwithKind(String kind)Set the kind property: Kind of resource.MigrateMySqlRequestwithMigrationType(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
-
-
-
-
Method Detail
-
withKind
public MigrateMySqlRequest withKind(String kind)
Set the kind property: Kind of resource.- Overrides:
withKindin classProxyOnlyResource- 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:
validatein classProxyOnlyResource- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-