Class JobsSummary
java.lang.Object
com.azure.resourcemanager.recoveryservices.models.JobsSummary
Summary of the replication job data for this vault.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the failedJobs property: Count of failed jobs.Get the inProgressJobs property: Count of in-progress jobs.Get the suspendedJobs property: Count of suspended jobs.void
validate()
Validates the instance.withFailedJobs
(Integer failedJobs) Set the failedJobs property: Count of failed jobs.withInProgressJobs
(Integer inProgressJobs) Set the inProgressJobs property: Count of in-progress jobs.withSuspendedJobs
(Integer suspendedJobs) Set the suspendedJobs property: Count of suspended jobs.
-
Constructor Details
-
JobsSummary
public JobsSummary()
-
-
Method Details
-
failedJobs
Get the failedJobs property: Count of failed jobs.- Returns:
- the failedJobs value.
-
withFailedJobs
Set the failedJobs property: Count of failed jobs.- Parameters:
failedJobs
- the failedJobs value to set.- Returns:
- the JobsSummary object itself.
-
suspendedJobs
Get the suspendedJobs property: Count of suspended jobs.- Returns:
- the suspendedJobs value.
-
withSuspendedJobs
Set the suspendedJobs property: Count of suspended jobs.- Parameters:
suspendedJobs
- the suspendedJobs value to set.- Returns:
- the JobsSummary object itself.
-
inProgressJobs
Get the inProgressJobs property: Count of in-progress jobs.- Returns:
- the inProgressJobs value.
-
withInProgressJobs
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.
-