Class DpmErrorInfo
java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.DpmErrorInfo
DPM workload-specific error information.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the errorString property: Localized error string.Get the recommendations property: List of localized recommendations for above error code.void
validate()
Validates the instance.withErrorString
(String errorString) Set the errorString property: Localized error string.withRecommendations
(List<String> recommendations) Set the recommendations property: List of localized recommendations for above error code.
-
Constructor Details
-
DpmErrorInfo
public DpmErrorInfo()Creates an instance of DpmErrorInfo class.
-
-
Method Details
-
errorString
Get the errorString property: Localized error string.- Returns:
- the errorString value.
-
withErrorString
Set the errorString property: Localized error string.- Parameters:
errorString
- the errorString value to set.- Returns:
- the DpmErrorInfo object itself.
-
recommendations
Get the recommendations property: List of localized recommendations for above error code.- Returns:
- the recommendations value.
-
withRecommendations
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.
-