Class AzureWorkloadErrorInfo


  • public final class AzureWorkloadErrorInfo
    extends Object
    Azure storage specific error information.
    • Constructor Detail

      • AzureWorkloadErrorInfo

        public AzureWorkloadErrorInfo()
    • Method Detail

      • errorCode

        public Integer errorCode()
        Get the errorCode property: Error code.
        Returns:
        the errorCode value.
      • withErrorCode

        public AzureWorkloadErrorInfo withErrorCode​(Integer errorCode)
        Set the errorCode property: Error code.
        Parameters:
        errorCode - the errorCode value to set.
        Returns:
        the AzureWorkloadErrorInfo object itself.
      • errorString

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

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

        public String errorTitle()
        Get the errorTitle property: Title: Typically, the entity that the error pertains to.
        Returns:
        the errorTitle value.
      • withErrorTitle

        public AzureWorkloadErrorInfo withErrorTitle​(String errorTitle)
        Set the errorTitle property: Title: Typically, the entity that the error pertains to.
        Parameters:
        errorTitle - the errorTitle value to set.
        Returns:
        the AzureWorkloadErrorInfo 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 AzureWorkloadErrorInfo 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 AzureWorkloadErrorInfo object itself.
      • additionalDetails

        public String additionalDetails()
        Get the additionalDetails property: Additional details for above error code.
        Returns:
        the additionalDetails value.
      • withAdditionalDetails

        public AzureWorkloadErrorInfo withAdditionalDetails​(String additionalDetails)
        Set the additionalDetails property: Additional details for above error code.
        Parameters:
        additionalDetails - the additionalDetails value to set.
        Returns:
        the AzureWorkloadErrorInfo object itself.
      • validate

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