Class ConnectToTargetSqlMITaskInput

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

public final class ConnectToTargetSqlMITaskInput extends Object
Input for the task that validates connection to Azure SQL Database Managed Instance.
  • Constructor Details

    • ConnectToTargetSqlMITaskInput

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

    • targetConnectionInfo

      public SqlConnectionInfo targetConnectionInfo()
      Get the targetConnectionInfo property: Connection information for target SQL Server.
      Returns:
      the targetConnectionInfo value.
    • withTargetConnectionInfo

      public ConnectToTargetSqlMITaskInput withTargetConnectionInfo(SqlConnectionInfo targetConnectionInfo)
      Set the targetConnectionInfo property: Connection information for target SQL Server.
      Parameters:
      targetConnectionInfo - the targetConnectionInfo value to set.
      Returns:
      the ConnectToTargetSqlMITaskInput object itself.
    • validate

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