Class ConnectToSourcePostgreSqlSyncTaskInput
java.lang.Object
com.azure.resourcemanager.datamigration.models.ConnectToSourcePostgreSqlSyncTaskInput
Input for the task that validates connection to PostgreSQL and source server requirements.
-
Constructor Summary
ConstructorDescriptionCreates an instance of ConnectToSourcePostgreSqlSyncTaskInput class. -
Method Summary
Modifier and TypeMethodDescriptionGet the sourceConnectionInfo property: Connection information for source PostgreSQL server.void
validate()
Validates the instance.withSourceConnectionInfo
(PostgreSqlConnectionInfo sourceConnectionInfo) Set the sourceConnectionInfo property: Connection information for source PostgreSQL server.
-
Constructor Details
-
ConnectToSourcePostgreSqlSyncTaskInput
public ConnectToSourcePostgreSqlSyncTaskInput()Creates an instance of ConnectToSourcePostgreSqlSyncTaskInput class.
-
-
Method Details
-
sourceConnectionInfo
Get the sourceConnectionInfo property: Connection information for source PostgreSQL server.- Returns:
- the sourceConnectionInfo value.
-
withSourceConnectionInfo
public ConnectToSourcePostgreSqlSyncTaskInput withSourceConnectionInfo(PostgreSqlConnectionInfo sourceConnectionInfo) Set the sourceConnectionInfo property: Connection information for source PostgreSQL server.- Parameters:
sourceConnectionInfo
- the sourceConnectionInfo value to set.- Returns:
- the ConnectToSourcePostgreSqlSyncTaskInput object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-