java.lang.Object
com.azure.resourcemanager.recoveryservices.models.JobsSummary

public final class JobsSummary extends Object
Summary of the replication job data for this vault.
  • Constructor Details

    • JobsSummary

      public JobsSummary()
  • Method Details

    • failedJobs

      public Integer failedJobs()
      Get the failedJobs property: Count of failed jobs.
      Returns:
      the failedJobs value.
    • withFailedJobs

      public JobsSummary withFailedJobs(Integer failedJobs)
      Set the failedJobs property: Count of failed jobs.
      Parameters:
      failedJobs - the failedJobs value to set.
      Returns:
      the JobsSummary object itself.
    • suspendedJobs

      public Integer suspendedJobs()
      Get the suspendedJobs property: Count of suspended jobs.
      Returns:
      the suspendedJobs value.
    • withSuspendedJobs

      public JobsSummary withSuspendedJobs(Integer suspendedJobs)
      Set the suspendedJobs property: Count of suspended jobs.
      Parameters:
      suspendedJobs - the suspendedJobs value to set.
      Returns:
      the JobsSummary object itself.
    • inProgressJobs

      public Integer inProgressJobs()
      Get the inProgressJobs property: Count of in-progress jobs.
      Returns:
      the inProgressJobs value.
    • withInProgressJobs

      public JobsSummary withInProgressJobs(Integer inProgressJobs)
      Set the inProgressJobs property: Count of in-progress jobs.
      Parameters:
      inProgressJobs - the inProgressJobs value to set.
      Returns:
      the JobsSummary object itself.
    • validate

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