Class AzureIaaSvmJobExtendedInfo
- java.lang.Object
-
- com.azure.resourcemanager.recoveryservicesbackup.models.AzureIaaSvmJobExtendedInfo
-
public final class AzureIaaSvmJobExtendedInfo extends Object
Azure IaaS VM workload-specific additional information for job.
-
-
Constructor Summary
Constructors Constructor Description AzureIaaSvmJobExtendedInfo()
-
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.String
estimatedRemainingDuration()
Get the estimatedRemainingDuration property: Time remaining for execution of this job.Map<String,String>
internalPropertyBag()
Get the internalPropertyBag property: Job internal properties.Double
progressPercentage()
Get the progressPercentage property: Indicates progress of the job.Map<String,String>
propertyBag()
Get the propertyBag property: Job properties.List<AzureIaaSvmJobTaskDetails>
tasksList()
Get the tasksList property: List of tasks associated with this job.void
validate()
Validates the instance.AzureIaaSvmJobExtendedInfo
withDynamicErrorMessage(String dynamicErrorMessage)
Set the dynamicErrorMessage property: Non localized error message on job execution.AzureIaaSvmJobExtendedInfo
withEstimatedRemainingDuration(String estimatedRemainingDuration)
Set the estimatedRemainingDuration property: Time remaining for execution of this job.AzureIaaSvmJobExtendedInfo
withInternalPropertyBag(Map<String,String> internalPropertyBag)
Set the internalPropertyBag property: Job internal properties.AzureIaaSvmJobExtendedInfo
withProgressPercentage(Double progressPercentage)
Set the progressPercentage property: Indicates progress of the job.AzureIaaSvmJobExtendedInfo
withPropertyBag(Map<String,String> propertyBag)
Set the propertyBag property: Job properties.AzureIaaSvmJobExtendedInfo
withTasksList(List<AzureIaaSvmJobTaskDetails> tasksList)
Set the tasksList property: List of tasks associated with this job.
-
-
-
Method Detail
-
tasksList
public List<AzureIaaSvmJobTaskDetails> tasksList()
Get the tasksList property: List of tasks associated with this job.- Returns:
- the tasksList value.
-
withTasksList
public AzureIaaSvmJobExtendedInfo withTasksList(List<AzureIaaSvmJobTaskDetails> tasksList)
Set the tasksList property: List of tasks associated with this job.- Parameters:
tasksList
- the tasksList value to set.- Returns:
- the AzureIaaSvmJobExtendedInfo object itself.
-
propertyBag
public Map<String,String> propertyBag()
Get the propertyBag property: Job properties.- Returns:
- the propertyBag value.
-
withPropertyBag
public AzureIaaSvmJobExtendedInfo withPropertyBag(Map<String,String> propertyBag)
Set the propertyBag property: Job properties.- Parameters:
propertyBag
- the propertyBag value to set.- Returns:
- the AzureIaaSvmJobExtendedInfo object itself.
-
internalPropertyBag
public Map<String,String> internalPropertyBag()
Get the internalPropertyBag property: Job internal properties.- Returns:
- the internalPropertyBag value.
-
withInternalPropertyBag
public AzureIaaSvmJobExtendedInfo withInternalPropertyBag(Map<String,String> internalPropertyBag)
Set the internalPropertyBag property: Job internal properties.- Parameters:
internalPropertyBag
- the internalPropertyBag value to set.- Returns:
- the AzureIaaSvmJobExtendedInfo object itself.
-
progressPercentage
public Double progressPercentage()
Get the progressPercentage property: Indicates progress of the job. Null if it has not started or completed.- Returns:
- the progressPercentage value.
-
withProgressPercentage
public AzureIaaSvmJobExtendedInfo withProgressPercentage(Double progressPercentage)
Set the progressPercentage property: Indicates progress of the job. Null if it has not started or completed.- Parameters:
progressPercentage
- the progressPercentage value to set.- Returns:
- the AzureIaaSvmJobExtendedInfo object itself.
-
estimatedRemainingDuration
public String estimatedRemainingDuration()
Get the estimatedRemainingDuration property: Time remaining for execution of this job.- Returns:
- the estimatedRemainingDuration value.
-
withEstimatedRemainingDuration
public AzureIaaSvmJobExtendedInfo withEstimatedRemainingDuration(String estimatedRemainingDuration)
Set the estimatedRemainingDuration property: Time remaining for execution of this job.- Parameters:
estimatedRemainingDuration
- the estimatedRemainingDuration value to set.- Returns:
- the AzureIaaSvmJobExtendedInfo object itself.
-
dynamicErrorMessage
public String dynamicErrorMessage()
Get the dynamicErrorMessage property: Non localized error message on job execution.- Returns:
- the dynamicErrorMessage value.
-
withDynamicErrorMessage
public AzureIaaSvmJobExtendedInfo withDynamicErrorMessage(String dynamicErrorMessage)
Set the dynamicErrorMessage property: Non localized error message on job execution.- Parameters:
dynamicErrorMessage
- the dynamicErrorMessage value to set.- Returns:
- the AzureIaaSvmJobExtendedInfo object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-