private static VerifiableProperties buildFrontendVPropsForQuota(File trustStoreFile, Account account)
      throws IOException, GeneralSecurityException {
    Properties properties = buildFrontendVProps(trustStoreFile);
    JSONObject cuResourceQuotaJson = new JSONObject();
    JSONObject quotaJson = new JSONObject();
    quotaJson.put("rcu", 10737418240L);
    quotaJson.put("wcu", 10737418240L);
    cuResourceQuotaJson.put(Integer.toString(account.getId()), quotaJson);
    properties.setProperty(QuotaConfig.RESOURCE_CU_QUOTA_IN_JSON, cuResourceQuotaJson.toString());
    properties.setProperty(QuotaConfig.THROTTLING_MODE, QuotaMode.TRACKING.name());
    properties.setProperty(QuotaConfig.REQUEST_THROTTLING_ENABLED, String.valueOf(true));
    properties.setProperty(QuotaConfig.FRONTEND_CU_CAPACITY_IN_JSON,
        "{\n" + "  \"rcu\": 10240,\n" + "  \"wcu\": 10240\n" + "}");
    return new VerifiableProperties(properties);
  }
Builds properties required to start a {@link RestServer} as an Ambry frontend server.
@param trustStoreFile the trust store file to add certificates to for SSL testing.
@param account {@link Account} for which quota needs to be specified.
@return a {@link VerifiableProperties} with the parameters for an Ambry frontend server.
ambry-frontend/src/integration-test/java/com/github/ambry/frontend/S3IntegrationTest.java