Interface ErrorReason.Builder

  • Method Details

    • errorCode

      ErrorReason.Builder errorCode(String errorCode)

      Service Quotas returns the following error values:

      • DEPENDENCY_ACCESS_DENIED_ERROR - The caller does not have the required permissions to complete the action. To resolve the error, you must have permission to access the Amazon Web Services service or quota.

      • DEPENDENCY_THROTTLING_ERROR - The Amazon Web Services service is throttling Service Quotas.

      • DEPENDENCY_SERVICE_ERROR - The Amazon Web Services service is not available.

      • SERVICE_QUOTA_NOT_AVAILABLE_ERROR - There was an error in Service Quotas.

      Parameters:
      errorCode - Service Quotas returns the following error values:

      • DEPENDENCY_ACCESS_DENIED_ERROR - The caller does not have the required permissions to complete the action. To resolve the error, you must have permission to access the Amazon Web Services service or quota.

      • DEPENDENCY_THROTTLING_ERROR - The Amazon Web Services service is throttling Service Quotas.

      • DEPENDENCY_SERVICE_ERROR - The Amazon Web Services service is not available.

      • SERVICE_QUOTA_NOT_AVAILABLE_ERROR - There was an error in Service Quotas.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • errorCode

      ErrorReason.Builder errorCode(ErrorCode errorCode)

      Service Quotas returns the following error values:

      • DEPENDENCY_ACCESS_DENIED_ERROR - The caller does not have the required permissions to complete the action. To resolve the error, you must have permission to access the Amazon Web Services service or quota.

      • DEPENDENCY_THROTTLING_ERROR - The Amazon Web Services service is throttling Service Quotas.

      • DEPENDENCY_SERVICE_ERROR - The Amazon Web Services service is not available.

      • SERVICE_QUOTA_NOT_AVAILABLE_ERROR - There was an error in Service Quotas.

      Parameters:
      errorCode - Service Quotas returns the following error values:

      • DEPENDENCY_ACCESS_DENIED_ERROR - The caller does not have the required permissions to complete the action. To resolve the error, you must have permission to access the Amazon Web Services service or quota.

      • DEPENDENCY_THROTTLING_ERROR - The Amazon Web Services service is throttling Service Quotas.

      • DEPENDENCY_SERVICE_ERROR - The Amazon Web Services service is not available.

      • SERVICE_QUOTA_NOT_AVAILABLE_ERROR - There was an error in Service Quotas.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • errorMessage

      ErrorReason.Builder errorMessage(String errorMessage)

      The error message.

      Parameters:
      errorMessage - The error message.
      Returns:
      Returns a reference to this object so that method calls can be chained together.