Class GetUserTablesSqlSyncTaskInput
java.lang.Object
com.azure.resourcemanager.datamigration.models.GetUserTablesSqlSyncTaskInput
Input for the task that collects user tables for the given list of databases.
-
Constructor Summary
ConstructorDescriptionCreates an instance of GetUserTablesSqlSyncTaskInput class. -
Method Summary
Modifier and TypeMethodDescriptionGet the selectedSourceDatabases property: List of source database names to collect tables for.Get the selectedTargetDatabases property: List of target database names to collect tables for.Get the sourceConnectionInfo property: Connection information for SQL Server.Get the targetConnectionInfo property: Connection information for SQL DB.void
validate()
Validates the instance.withSelectedSourceDatabases
(List<String> selectedSourceDatabases) Set the selectedSourceDatabases property: List of source database names to collect tables for.withSelectedTargetDatabases
(List<String> selectedTargetDatabases) Set the selectedTargetDatabases property: List of target database names to collect tables for.withSourceConnectionInfo
(SqlConnectionInfo sourceConnectionInfo) Set the sourceConnectionInfo property: Connection information for SQL Server.withTargetConnectionInfo
(SqlConnectionInfo targetConnectionInfo) Set the targetConnectionInfo property: Connection information for SQL DB.
-
Constructor Details
-
GetUserTablesSqlSyncTaskInput
public GetUserTablesSqlSyncTaskInput()Creates an instance of GetUserTablesSqlSyncTaskInput class.
-
-
Method Details
-
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
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
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
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.
-