Class AzureWorkloadJobExtendedInfo
java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.AzureWorkloadJobExtendedInfo
Azure VM workload-specific additional information for job.
-
Constructor Summary
ConstructorDescriptionCreates an instance of AzureWorkloadJobExtendedInfo class. -
Method Summary
Modifier and TypeMethodDescriptionGet the dynamicErrorMessage property: Non localized error message on job execution.Get the propertyBag property: Job properties.Get the tasksList property: List of tasks for this job.void
validate()
Validates the instance.withDynamicErrorMessage
(String dynamicErrorMessage) Set the dynamicErrorMessage property: Non localized error message on job execution.withPropertyBag
(Map<String, String> propertyBag) Set the propertyBag property: Job properties.withTasksList
(List<AzureWorkloadJobTaskDetails> tasksList) Set the tasksList property: List of tasks for this job.
-
Constructor Details
-
AzureWorkloadJobExtendedInfo
public AzureWorkloadJobExtendedInfo()Creates an instance of AzureWorkloadJobExtendedInfo class.
-
-
Method Details
-
tasksList
Get the tasksList property: List of tasks for this job.- Returns:
- the tasksList value.
-
withTasksList
Set the tasksList property: List of tasks for this job.- Parameters:
tasksList
- the tasksList value to set.- Returns:
- the AzureWorkloadJobExtendedInfo object itself.
-
propertyBag
Get the propertyBag property: Job properties.- Returns:
- the propertyBag value.
-
withPropertyBag
Set the propertyBag property: Job properties.- Parameters:
propertyBag
- the propertyBag value to set.- Returns:
- the AzureWorkloadJobExtendedInfo object itself.
-
dynamicErrorMessage
Get the dynamicErrorMessage property: Non localized error message on job execution.- Returns:
- the dynamicErrorMessage value.
-
withDynamicErrorMessage
Set the dynamicErrorMessage property: Non localized error message on job execution.- Parameters:
dynamicErrorMessage
- the dynamicErrorMessage value to set.- Returns:
- the AzureWorkloadJobExtendedInfo object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-