public static QuotaResource fromAccount(Account account) {
    return new QuotaResource(Integer.toString(account.getId()), QuotaResourceType.ACCOUNT);
  }
Create {@link QuotaResource} from {@link Account}.
@param account {@link Account} object.
@return QuotaResource object.
ambry-api/src/main/java/com/github/ambry/quota/QuotaResource.java