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