Class GetUserTablesSqlSyncTaskInput

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

public final class GetUserTablesSqlSyncTaskInput extends Object
Input for the task that collects user tables for the given list of databases.
  • Constructor Details

    • GetUserTablesSqlSyncTaskInput

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

    • sourceConnectionInfo

      public SqlConnectionInfo sourceConnectionInfo()
      Get the sourceConnectionInfo property: Connection information for SQL Server.
      Returns:
      the sourceConnectionInfo value.
    • withSourceConnectionInfo

      public GetUserTablesSqlSyncTaskInput withSourceConnectionInfo(SqlConnectionInfo sourceConnectionInfo)
      Set the sourceConnectionInfo property: Connection information for SQL Server.
      Parameters:
      sourceConnectionInfo - the sourceConnectionInfo value to set.
      Returns:
      the GetUserTablesSqlSyncTaskInput object itself.
    • targetConnectionInfo

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

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

      public List<String> selectedSourceDatabases()
      Get the selectedSourceDatabases property: List of source database names to collect tables for.
      Returns:
      the selectedSourceDatabases value.
    • withSelectedSourceDatabases

      public GetUserTablesSqlSyncTaskInput withSelectedSourceDatabases(List<String> selectedSourceDatabases)
      Set the selectedSourceDatabases property: List of source database names to collect tables for.
      Parameters:
      selectedSourceDatabases - the selectedSourceDatabases value to set.
      Returns:
      the GetUserTablesSqlSyncTaskInput object itself.
    • selectedTargetDatabases

      public List<String> selectedTargetDatabases()
      Get the selectedTargetDatabases property: List of target database names to collect tables for.
      Returns:
      the selectedTargetDatabases value.
    • withSelectedTargetDatabases

      public GetUserTablesSqlSyncTaskInput withSelectedTargetDatabases(List<String> selectedTargetDatabases)
      Set the selectedTargetDatabases property: List of target database names to collect tables for.
      Parameters:
      selectedTargetDatabases - the selectedTargetDatabases value to set.
      Returns:
      the GetUserTablesSqlSyncTaskInput object itself.
    • validate

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