class CreateResourceQuotaInNamespaceYamlEquivalent {
  private static final Logger logger = LoggerFactory.getLogger(CreateResourceQuotaInNamespaceYamlEquivalent.class.getName());

  public static void main(String[] args) {<FILL_FUNCTION_BODY>}
}


    try (KubernetesClient client = new KubernetesClientBuilder().build()) {
      /*
       * If namespace is specified in YAML client would pick it up from there,
       * otherwise you would need to specify it in operation context like being done
       * here.
       */
      ResourceQuota resourceQuota = client.resourceQuotas().inNamespace("default")
          .load(CreateResourceQuotaInNamespaceYamlEquivalent.class.getResourceAsStream("/quota.yaml"))
          .create();
      logger.info("Successfully created ResourceQuota {} in {} namespace", resourceQuota.getMetadata().getName(),
          resourceQuota.getMetadata().getNamespace());
    }
  
<no_super_class>