Class OperationStatusJobsExtendedInfo
java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.OperationStatusExtendedInfo
com.azure.resourcemanager.recoveryservicesbackup.models.OperationStatusJobsExtendedInfo
Operation status extended info for list of jobs.
-
Constructor Summary
ConstructorDescriptionCreates an instance of OperationStatusJobsExtendedInfo class. -
Method Summary
Modifier and TypeMethodDescriptionGet the failedJobsError property: Stores all the failed jobs along with the corresponding error codes.jobIds()
Get the jobIds property: IDs of the jobs created for the protected item.void
validate()
Validates the instance.withFailedJobsError
(Map<String, String> failedJobsError) Set the failedJobsError property: Stores all the failed jobs along with the corresponding error codes.withJobIds
(List<String> jobIds) Set the jobIds property: IDs of the jobs created for the protected item.
-
Constructor Details
-
OperationStatusJobsExtendedInfo
public OperationStatusJobsExtendedInfo()Creates an instance of OperationStatusJobsExtendedInfo class.
-
-
Method Details
-
jobIds
Get the jobIds property: IDs of the jobs created for the protected item.- Returns:
- the jobIds value.
-
withJobIds
Set the jobIds property: IDs of the jobs created for the protected item.- Parameters:
jobIds
- the jobIds value to set.- Returns:
- the OperationStatusJobsExtendedInfo object itself.
-
failedJobsError
Get the failedJobsError property: Stores all the failed jobs along with the corresponding error codes.- Returns:
- the failedJobsError value.
-
withFailedJobsError
Set the failedJobsError property: Stores all the failed jobs along with the corresponding error codes.- Parameters:
failedJobsError
- the failedJobsError value to set.- Returns:
- the OperationStatusJobsExtendedInfo object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classOperationStatusExtendedInfo
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-