java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.DpmErrorInfo

public final class DpmErrorInfo extends Object
DPM workload-specific error information.
  • Constructor Details

    • DpmErrorInfo

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

    • errorString

      public String errorString()
      Get the errorString property: Localized error string.
      Returns:
      the errorString value.
    • withErrorString

      public DpmErrorInfo withErrorString(String errorString)
      Set the errorString property: Localized error string.
      Parameters:
      errorString - the errorString value to set.
      Returns:
      the DpmErrorInfo object itself.
    • recommendations

      public List<String> recommendations()
      Get the recommendations property: List of localized recommendations for above error code.
      Returns:
      the recommendations value.
    • withRecommendations

      public DpmErrorInfo withRecommendations(List<String> recommendations)
      Set the recommendations property: List of localized recommendations for above error code.
      Parameters:
      recommendations - the recommendations value to set.
      Returns:
      the DpmErrorInfo object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.