Class MabJobExtendedInfo
- java.lang.Object
-
- com.azure.resourcemanager.recoveryservicesbackup.models.MabJobExtendedInfo
-
public final class MabJobExtendedInfo extends Object
Additional information for the MAB workload-specific job.
-
-
Constructor Summary
Constructors Constructor Description MabJobExtendedInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
dynamicErrorMessage()
Get the dynamicErrorMessage property: Non localized error message specific to this job.Map<String,String>
propertyBag()
Get the propertyBag property: The job properties.List<MabJobTaskDetails>
tasksList()
Get the tasksList property: List of tasks for this job.void
validate()
Validates the instance.MabJobExtendedInfo
withDynamicErrorMessage(String dynamicErrorMessage)
Set the dynamicErrorMessage property: Non localized error message specific to this job.MabJobExtendedInfo
withPropertyBag(Map<String,String> propertyBag)
Set the propertyBag property: The job properties.MabJobExtendedInfo
withTasksList(List<MabJobTaskDetails> tasksList)
Set the tasksList property: List of tasks for this job.
-
-
-
Method Detail
-
tasksList
public List<MabJobTaskDetails> tasksList()
Get the tasksList property: List of tasks for this job.- Returns:
- the tasksList value.
-
withTasksList
public MabJobExtendedInfo withTasksList(List<MabJobTaskDetails> tasksList)
Set the tasksList property: List of tasks for this job.- Parameters:
tasksList
- the tasksList value to set.- Returns:
- the MabJobExtendedInfo object itself.
-
propertyBag
public Map<String,String> propertyBag()
Get the propertyBag property: The job properties.- Returns:
- the propertyBag value.
-
withPropertyBag
public MabJobExtendedInfo withPropertyBag(Map<String,String> propertyBag)
Set the propertyBag property: The job properties.- Parameters:
propertyBag
- the propertyBag value to set.- Returns:
- the MabJobExtendedInfo object itself.
-
dynamicErrorMessage
public String dynamicErrorMessage()
Get the dynamicErrorMessage property: Non localized error message specific to this job.- Returns:
- the dynamicErrorMessage value.
-
withDynamicErrorMessage
public MabJobExtendedInfo withDynamicErrorMessage(String dynamicErrorMessage)
Set the dynamicErrorMessage property: Non localized error message specific to this job.- Parameters:
dynamicErrorMessage
- the dynamicErrorMessage value to set.- Returns:
- the MabJobExtendedInfo object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-