SqlMigrationTaskInput Class
- java.
lang. Object - com.
azure. resourcemanager. datamigration. models. SqlMigrationTaskInput
- com.
public class SqlMigrationTaskInput
Base class for migration task input.
Constructor Summary
Constructor | Description |
---|---|
SqlMigrationTaskInput() |
Creates an instance of Sql |
Method Summary
Modifier and Type | Method and Description |
---|---|
Sql |
sourceConnectionInfo()
Get the source |
Sql |
targetConnectionInfo()
Get the target |
void |
validate()
Validates the instance. |
Sql |
withSourceConnectionInfo(SqlConnectionInfo sourceConnectionInfo)
Set the source |
Sql |
withTargetConnectionInfo(SqlConnectionInfo targetConnectionInfo)
Set the target |
Methods inherited from java.lang.Object
Constructor Details
SqlMigrationTaskInput
public SqlMigrationTaskInput()
Creates an instance of SqlMigrationTaskInput class.
Method Details
sourceConnectionInfo
public SqlConnectionInfo sourceConnectionInfo()
Get the sourceConnectionInfo property: Information for connecting to source.
Returns:
targetConnectionInfo
public SqlConnectionInfo targetConnectionInfo()
Get the targetConnectionInfo property: Information for connecting to target.
Returns:
validate
public void validate()
Validates the instance.
withSourceConnectionInfo
public SqlMigrationTaskInput withSourceConnectionInfo(SqlConnectionInfo sourceConnectionInfo)
Set the sourceConnectionInfo property: Information for connecting to source.
Parameters:
Returns:
withTargetConnectionInfo
public SqlMigrationTaskInput withTargetConnectionInfo(SqlConnectionInfo targetConnectionInfo)
Set the targetConnectionInfo property: Information for connecting to target.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for