protected QuotaRecommendation buildQuotaRecommendation(float usage, QuotaName quotaName, String resourceId) {
    QuotaAction quotaAction = (usage >= MAX_USAGE_PERCENTAGE_ALLOWED) ? QuotaAction.REJECT : QuotaAction.ALLOW;
    return new QuotaRecommendation(quotaAction, usage, quotaName,
        (quotaAction == QuotaAction.REJECT) ? throttleRetryAfterMs : QuotaRecommendation.NO_THROTTLE_RETRY_AFTER_MS);
  }
Build the {@link QuotaRecommendation} object from the specified usage and {@link QuotaName}.
@param usage percentage usage.
@param quotaName {@link QuotaName} object.
@param resourceId resource id of the resource for which check is being made.
@return QuotaRecommendation object.
ambry-router/src/test/java/com/github/ambry/router/RejectingQuotaEnforcerFactory.java