@Override
  public QuotaResource getQuotaResource() throws QuotaException {
    return QuotaResource.fromRestRequest(restRequest);
  }
Constructor for {@link PostProcessQuotaChargeCallback}.
@param quotaManager {@link QuotaManager} object responsible for charging the quota.
@param restRequest {@link RestRequest} for which quota is being charged.
@param isQuotaEnforcedOnRequest flag indicating if request quota should be enforced after charging. Requests like
                                update ttl, delete etc are charged, but quota is not enforced on them.
ambry-quota/src/main/java/com/github/ambry/quota/PostProcessQuotaChargeCallback.java