Class GetUserTablesSqlTaskInput
java.lang.Object
com.azure.resourcemanager.datamigration.models.GetUserTablesSqlTaskInput
Input for the task that collects user tables for the given list of databases.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of GetUserTablesSqlTaskInput class. -
Method Summary
Modifier and TypeMethodDescriptionGet the connectionInfo property: Connection information for SQL Server.Get the selectedDatabases property: List of database names to collect tables for.voidvalidate()Validates the instance.withConnectionInfo(SqlConnectionInfo connectionInfo) Set the connectionInfo property: Connection information for SQL Server.withSelectedDatabases(List<String> selectedDatabases) Set the selectedDatabases property: List of database names to collect tables for.
-
Constructor Details
-
GetUserTablesSqlTaskInput
public GetUserTablesSqlTaskInput()Creates an instance of GetUserTablesSqlTaskInput class.
-
-
Method Details
-
connectionInfo
Get the connectionInfo property: Connection information for SQL Server.- Returns:
- the connectionInfo value.
-
withConnectionInfo
Set the connectionInfo property: Connection information for SQL Server.- Parameters:
connectionInfo- the connectionInfo value to set.- Returns:
- the GetUserTablesSqlTaskInput object itself.
-
selectedDatabases
Get the selectedDatabases property: List of database names to collect tables for.- Returns:
- the selectedDatabases value.
-
withSelectedDatabases
Set the selectedDatabases property: List of database names to collect tables for.- Parameters:
selectedDatabases- the selectedDatabases value to set.- Returns:
- the GetUserTablesSqlTaskInput object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-