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 Details

    • AzureWorkloadJobExtendedInfo

      public AzureWorkloadJobExtendedInfo()
      Creates an instance of AzureWorkloadJobExtendedInfo class.
  • Method Details

    • tasksList

      public List<AzureWorkloadJobTaskDetails> tasksList()
      Get the tasksList property: List of tasks for this job.
      Returns:
      the tasksList value.
    • withTasksList

      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.