java.lang.Object
com.azure.resourcemanager.datamigration.fluent.models.ProjectProperties

public final class ProjectProperties extends Object
Project-specific properties.
  • Constructor Details

    • ProjectProperties

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

    • sourcePlatform

      public ProjectSourcePlatform sourcePlatform()
      Get the sourcePlatform property: Source platform for the project.
      Returns:
      the sourcePlatform value.
    • withSourcePlatform

      public ProjectProperties withSourcePlatform(ProjectSourcePlatform sourcePlatform)
      Set the sourcePlatform property: Source platform for the project.
      Parameters:
      sourcePlatform - the sourcePlatform value to set.
      Returns:
      the ProjectProperties object itself.
    • targetPlatform

      public ProjectTargetPlatform targetPlatform()
      Get the targetPlatform property: Target platform for the project.
      Returns:
      the targetPlatform value.
    • withTargetPlatform

      public ProjectProperties withTargetPlatform(ProjectTargetPlatform targetPlatform)
      Set the targetPlatform property: Target platform for the project.
      Parameters:
      targetPlatform - the targetPlatform value to set.
      Returns:
      the ProjectProperties object itself.
    • creationTime

      public OffsetDateTime creationTime()
      Get the creationTime property: UTC Date and time when project was created.
      Returns:
      the creationTime value.
    • sourceConnectionInfo

      public ConnectionInfo sourceConnectionInfo()
      Get the sourceConnectionInfo property: Information for connecting to source.
      Returns:
      the sourceConnectionInfo value.
    • withSourceConnectionInfo

      public ProjectProperties withSourceConnectionInfo(ConnectionInfo sourceConnectionInfo)
      Set the sourceConnectionInfo property: Information for connecting to source.
      Parameters:
      sourceConnectionInfo - the sourceConnectionInfo value to set.
      Returns:
      the ProjectProperties object itself.
    • targetConnectionInfo

      public ConnectionInfo targetConnectionInfo()
      Get the targetConnectionInfo property: Information for connecting to target.
      Returns:
      the targetConnectionInfo value.
    • withTargetConnectionInfo

      public ProjectProperties withTargetConnectionInfo(ConnectionInfo targetConnectionInfo)
      Set the targetConnectionInfo property: Information for connecting to target.
      Parameters:
      targetConnectionInfo - the targetConnectionInfo value to set.
      Returns:
      the ProjectProperties object itself.
    • databasesInfo

      public List<DatabaseInfo> databasesInfo()
      Get the databasesInfo property: List of DatabaseInfo.
      Returns:
      the databasesInfo value.
    • withDatabasesInfo

      public ProjectProperties withDatabasesInfo(List<DatabaseInfo> databasesInfo)
      Set the databasesInfo property: List of DatabaseInfo.
      Parameters:
      databasesInfo - the databasesInfo value to set.
      Returns:
      the ProjectProperties object itself.
    • provisioningState

      public ProjectProvisioningState provisioningState()
      Get the provisioningState property: The project's provisioning state.
      Returns:
      the provisioningState value.
    • validate

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