Class ConnectToTargetSqlDbTaskInput
java.lang.Object
com.azure.resourcemanager.datamigration.models.ConnectToTargetSqlDbTaskInput
Input for the task that validates connection to SQL DB and target server requirements.
-
Constructor Summary
ConstructorDescriptionCreates an instance of ConnectToTargetSqlDbTaskInput class. -
Method Summary
Modifier and TypeMethodDescriptionGet the targetConnectionInfo property: Connection information for target SQL DB.void
validate()
Validates the instance.withTargetConnectionInfo
(SqlConnectionInfo targetConnectionInfo) Set the targetConnectionInfo property: Connection information for target SQL DB.
-
Constructor Details
-
ConnectToTargetSqlDbTaskInput
public ConnectToTargetSqlDbTaskInput()Creates an instance of ConnectToTargetSqlDbTaskInput class.
-
-
Method Details
-
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.
-