Class AzureWorkloadJobExtendedInfo
- java.lang.Object
-
- com.azure.resourcemanager.recoveryservicesbackup.models.AzureWorkloadJobExtendedInfo
-
public final class AzureWorkloadJobExtendedInfo extends Object
Azure VM workload-specific additional information for job.
-
-
Constructor Summary
Constructors Constructor Description AzureWorkloadJobExtendedInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
dynamicErrorMessage()
Get the dynamicErrorMessage property: Non localized error message on job execution.Map<String,String>
propertyBag()
Get the propertyBag property: Job properties.List<AzureWorkloadJobTaskDetails>
tasksList()
Get the tasksList property: List of tasks for this job.void
validate()
Validates the instance.AzureWorkloadJobExtendedInfo
withDynamicErrorMessage(String dynamicErrorMessage)
Set the dynamicErrorMessage property: Non localized error message on job execution.AzureWorkloadJobExtendedInfo
withPropertyBag(Map<String,String> propertyBag)
Set the propertyBag property: Job properties.AzureWorkloadJobExtendedInfo
withTasksList(List<AzureWorkloadJobTaskDetails> tasksList)
Set the tasksList property: List of tasks for this job.
-
-
-
Method Detail
-
tasksList
public List<AzureWorkloadJobTaskDetails> tasksList()
Get the tasksList property: List of tasks for this job.- Returns:
- the tasksList value.
-
withTasksList
public AzureWorkloadJobExtendedInfo withTasksList(List<AzureWorkloadJobTaskDetails> tasksList)
Set the tasksList property: List of tasks for this job.- Parameters:
tasksList
- the tasksList value to set.- Returns:
- the AzureWorkloadJobExtendedInfo object itself.
-
propertyBag
public Map<String,String> propertyBag()
Get the propertyBag property: Job properties.- Returns:
- the propertyBag value.
-
withPropertyBag
public AzureWorkloadJobExtendedInfo withPropertyBag(Map<String,String> propertyBag)
Set the propertyBag property: Job properties.- Parameters:
propertyBag
- the propertyBag value to set.- Returns:
- the AzureWorkloadJobExtendedInfo object itself.
-
dynamicErrorMessage
public String dynamicErrorMessage()
Get the dynamicErrorMessage property: Non localized error message on job execution.- Returns:
- the dynamicErrorMessage value.
-
withDynamicErrorMessage
public AzureWorkloadJobExtendedInfo withDynamicErrorMessage(String dynamicErrorMessage)
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.
-
-