Class ConnectToTargetSqlDbTaskInput

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

public final class ConnectToTargetSqlDbTaskInput extends Object
Input for the task that validates connection to SQL DB and target server requirements.
  • Constructor Details

    • ConnectToTargetSqlDbTaskInput

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

    • targetConnectionInfo

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

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

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