Class DpmJobExtendedInfo
- java.lang.Object
-
- com.azure.resourcemanager.recoveryservicesbackup.models.DpmJobExtendedInfo
-
public final class DpmJobExtendedInfo extends Object
Additional information on the DPM workload-specific job.
-
-
Constructor Summary
Constructors Constructor Description DpmJobExtendedInfo()
-
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: The job properties.List<DpmJobTaskDetails>
tasksList()
Get the tasksList property: List of tasks associated with this job.void
validate()
Validates the instance.DpmJobExtendedInfo
withDynamicErrorMessage(String dynamicErrorMessage)
Set the dynamicErrorMessage property: Non localized error message on job execution.DpmJobExtendedInfo
withPropertyBag(Map<String,String> propertyBag)
Set the propertyBag property: The job properties.DpmJobExtendedInfo
withTasksList(List<DpmJobTaskDetails> tasksList)
Set the tasksList property: List of tasks associated with this job.
-
-
-
Method Detail
-
tasksList
public List<DpmJobTaskDetails> tasksList()
Get the tasksList property: List of tasks associated with this job.- Returns:
- the tasksList value.
-
withTasksList
public DpmJobExtendedInfo withTasksList(List<DpmJobTaskDetails> tasksList)
Set the tasksList property: List of tasks associated with this job.- Parameters:
tasksList
- the tasksList value to set.- Returns:
- the DpmJobExtendedInfo object itself.
-
propertyBag
public Map<String,String> propertyBag()
Get the propertyBag property: The job properties.- Returns:
- the propertyBag value.
-
withPropertyBag
public DpmJobExtendedInfo withPropertyBag(Map<String,String> propertyBag)
Set the propertyBag property: The job properties.- Parameters:
propertyBag
- the propertyBag value to set.- Returns:
- the DpmJobExtendedInfo object itself.
-
dynamicErrorMessage
public String dynamicErrorMessage()
Get the dynamicErrorMessage property: Non localized error message on job execution.- Returns:
- the dynamicErrorMessage value.
-
withDynamicErrorMessage
public DpmJobExtendedInfo withDynamicErrorMessage(String dynamicErrorMessage)
Set the dynamicErrorMessage property: Non localized error message on job execution.- Parameters:
dynamicErrorMessage
- the dynamicErrorMessage value to set.- Returns:
- the DpmJobExtendedInfo object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-