Class VaultJobErrorInfo


  • public final class VaultJobErrorInfo
    extends Object
    Vault Job specific error information.
    • Constructor Detail

      • VaultJobErrorInfo

        public VaultJobErrorInfo()
    • Method Detail

      • errorCode

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

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

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

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

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