Class ConnectToSourceSqlServerTaskOutputAgentJobLevel

java.lang.Object
com.azure.resourcemanager.datamigration.models.ConnectToSourceSqlServerTaskOutput
com.azure.resourcemanager.datamigration.models.ConnectToSourceSqlServerTaskOutputAgentJobLevel

public final class ConnectToSourceSqlServerTaskOutputAgentJobLevel extends ConnectToSourceSqlServerTaskOutput
AgentJob level output for the task that validates connection to SQL Server and also validates source server requirements.
  • Constructor Details

    • ConnectToSourceSqlServerTaskOutputAgentJobLevel

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

    • name

      public String name()
      Get the name property: AgentJob name.
      Returns:
      the name value.
    • jobCategory

      public String jobCategory()
      Get the jobCategory property: The type of AgentJob.
      Returns:
      the jobCategory value.
    • isEnabled

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

      public String jobOwner()
      Get the jobOwner property: The owner of the AgentJob.
      Returns:
      the jobOwner value.
    • lastExecutedOn

      public OffsetDateTime lastExecutedOn()
      Get the lastExecutedOn property: UTC Date and time when the AgentJob was last executed.
      Returns:
      the lastExecutedOn value.
    • migrationEligibility

      public MigrationEligibilityInfo migrationEligibility()
      Get the migrationEligibility property: Information about eligibility of agent job for migration.
      Returns:
      the migrationEligibility value.
    • validate

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