Class MigrateSqlServerSqlMITaskOutputAgentJobLevel

java.lang.Object
com.azure.resourcemanager.datamigration.models.MigrateSqlServerSqlMITaskOutput
com.azure.resourcemanager.datamigration.models.MigrateSqlServerSqlMITaskOutputAgentJobLevel

public final class MigrateSqlServerSqlMITaskOutputAgentJobLevel extends MigrateSqlServerSqlMITaskOutput
The MigrateSqlServerSqlMITaskOutputAgentJobLevel model.
  • Constructor Details

    • MigrateSqlServerSqlMITaskOutputAgentJobLevel

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

    • name

      public String name()
      Get the name property: Agent Job name.
      Returns:
      the name value.
    • isEnabled

      public Boolean isEnabled()
      Get the isEnabled property: The state of the original Agent Job.
      Returns:
      the isEnabled value.
    • state

      public MigrationState state()
      Get the state property: Current state of migration.
      Returns:
      the state value.
    • startedOn

      public OffsetDateTime startedOn()
      Get the startedOn property: Migration start time.
      Returns:
      the startedOn value.
    • endedOn

      public OffsetDateTime endedOn()
      Get the endedOn property: Migration end time.
      Returns:
      the endedOn value.
    • message

      public String message()
      Get the message property: Migration progress message.
      Returns:
      the message value.
    • exceptionsAndWarnings

      public List<ReportableException> exceptionsAndWarnings()
      Get the exceptionsAndWarnings property: Migration errors and warnings per job.
      Returns:
      the exceptionsAndWarnings value.
    • validate

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