Class OperationStatusJobsExtendedInfo
- java.lang.Object
-
- com.azure.resourcemanager.recoveryservicesbackup.models.OperationStatusExtendedInfo
-
- com.azure.resourcemanager.recoveryservicesbackup.models.OperationStatusJobsExtendedInfo
-
public final class OperationStatusJobsExtendedInfo extends OperationStatusExtendedInfo
Operation status extended info for list of jobs.
-
-
Constructor Summary
Constructors Constructor Description OperationStatusJobsExtendedInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>
failedJobsError()
Get the failedJobsError property: Stores all the failed jobs along with the corresponding error codes.List<String>
jobIds()
Get the jobIds property: IDs of the jobs created for the protected item.void
validate()
Validates the instance.OperationStatusJobsExtendedInfo
withFailedJobsError(Map<String,String> failedJobsError)
Set the failedJobsError property: Stores all the failed jobs along with the corresponding error codes.OperationStatusJobsExtendedInfo
withJobIds(List<String> jobIds)
Set the jobIds property: IDs of the jobs created for the protected item.
-
-
-
Method Detail
-
jobIds
public List<String> jobIds()
Get the jobIds property: IDs of the jobs created for the protected item.- Returns:
- the jobIds value.
-
withJobIds
public OperationStatusJobsExtendedInfo withJobIds(List<String> jobIds)
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
public Map<String,String> failedJobsError()
Get the failedJobsError property: Stores all the failed jobs along with the corresponding error codes.- Returns:
- the failedJobsError value.
-
withFailedJobsError
public OperationStatusJobsExtendedInfo withFailedJobsError(Map<String,String> failedJobsError)
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.
-
-