Class AzureStorageErrorInfo


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

      • AzureStorageErrorInfo

        public AzureStorageErrorInfo()
    • Method Detail

      • errorCode

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

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

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

        public AzureStorageErrorInfo withErrorString​(String errorString)
        Set the errorString property: Localized error string.
        Parameters:
        errorString - the errorString value to set.
        Returns:
        the AzureStorageErrorInfo 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 AzureStorageErrorInfo 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 AzureStorageErrorInfo object itself.
      • validate

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