Class ConnectToSourceMySqlTaskInput

java.lang.Object
com.azure.resourcemanager.datamigration.models.ConnectToSourceMySqlTaskInput

public final class ConnectToSourceMySqlTaskInput extends Object
Input for the task that validates MySQL database connection.
  • Constructor Details

    • ConnectToSourceMySqlTaskInput

      public ConnectToSourceMySqlTaskInput()
      Creates an instance of ConnectToSourceMySqlTaskInput class.
  • Method Details

    • sourceConnectionInfo

      public MySqlConnectionInfo sourceConnectionInfo()
      Get the sourceConnectionInfo property: Information for connecting to MySQL source.
      Returns:
      the sourceConnectionInfo value.
    • withSourceConnectionInfo

      public ConnectToSourceMySqlTaskInput withSourceConnectionInfo(MySqlConnectionInfo sourceConnectionInfo)
      Set the sourceConnectionInfo property: Information for connecting to MySQL source.
      Parameters:
      sourceConnectionInfo - the sourceConnectionInfo value to set.
      Returns:
      the ConnectToSourceMySqlTaskInput object itself.
    • targetPlatform

      public MySqlTargetPlatformType targetPlatform()
      Get the targetPlatform property: Target Platform for the migration.
      Returns:
      the targetPlatform value.
    • withTargetPlatform

      public ConnectToSourceMySqlTaskInput withTargetPlatform(MySqlTargetPlatformType targetPlatform)
      Set the targetPlatform property: Target Platform for the migration.
      Parameters:
      targetPlatform - the targetPlatform value to set.
      Returns:
      the ConnectToSourceMySqlTaskInput object itself.
    • checkPermissionsGroup

      public ServerLevelPermissionsGroup checkPermissionsGroup()
      Get the checkPermissionsGroup property: Permission group for validations.
      Returns:
      the checkPermissionsGroup value.
    • withCheckPermissionsGroup

      public ConnectToSourceMySqlTaskInput withCheckPermissionsGroup(ServerLevelPermissionsGroup checkPermissionsGroup)
      Set the checkPermissionsGroup property: Permission group for validations.
      Parameters:
      checkPermissionsGroup - the checkPermissionsGroup value to set.
      Returns:
      the ConnectToSourceMySqlTaskInput object itself.
    • validate

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