Class ConnectToSourcePostgreSqlSyncTaskOutput

java.lang.Object
com.azure.resourcemanager.datamigration.models.ConnectToSourcePostgreSqlSyncTaskOutput

public final class ConnectToSourcePostgreSqlSyncTaskOutput extends Object
Output for the task that validates connection to PostgreSQL and source server requirements.
  • Constructor Details

    • ConnectToSourcePostgreSqlSyncTaskOutput

      public ConnectToSourcePostgreSqlSyncTaskOutput()
      Creates an instance of ConnectToSourcePostgreSqlSyncTaskOutput class.
  • Method Details

    • id

      public String id()
      Get the id property: Result identifier.
      Returns:
      the id value.
    • sourceServerVersion

      public String sourceServerVersion()
      Get the sourceServerVersion property: Version of the source server.
      Returns:
      the sourceServerVersion value.
    • databases

      public List<String> databases()
      Get the databases property: List of databases on source server.
      Returns:
      the databases value.
    • sourceServerBrandVersion

      public String sourceServerBrandVersion()
      Get the sourceServerBrandVersion property: Source server brand version.
      Returns:
      the sourceServerBrandVersion value.
    • validationErrors

      public List<ReportableException> validationErrors()
      Get the validationErrors property: Validation errors associated with the task.
      Returns:
      the validationErrors value.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.