class StorageClassExamples {

  private static final Logger logger = LoggerFactory.getLogger(StorageClassExamples.class);

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

    final ConfigBuilder configBuilder = new ConfigBuilder();
    if (args.length > 0) {
      configBuilder.withMasterUrl(args[0]);
      logger.info("Using master with URL: {}", args[0]);
    }
    try (KubernetesClient client = new KubernetesClientBuilder().withConfig(configBuilder.build()).build()) {
      final String storageClassName = generateId().toString();
      logger.info("List of existent storage classes:");
      client.storage().v1().storageClasses().list().getItems()
          .forEach(sc -> logger.info(" - {}", sc.getMetadata().getName()));

      logger.info("Creating new Storage class");
      final StorageClass storageClass = client.storage().v1().storageClasses().resource(
          new StorageClassBuilder()
              .withNewMetadata().withName(storageClassName).endMetadata()
              .addToParameters("resturl", "http://localhost:8080")
              .addToParameters("restuser", "")
              .addToParameters("secretNamespace", "")
              .addToParameters("secretName", "")
              .addToParameters("key", "value1")
              .withProvisioner("k8s.io/minikube-hostpath")
              .build())
          .create();
      logger.info("Newly created storage class details:\n{}", storageClass);

      logger.info("Updated list of existent storage classes:");
      client.storage().v1().storageClasses().list().getItems()
          .forEach(sc -> logger.info(" - {}", sc.getMetadata().getName()));

      logger.info("Updating {} storage clas to add new label", storageClassName);
      final StorageClass updatedStorageClass = client.storage().v1().storageClasses().withName(storageClassName).edit(
          s -> new StorageClassBuilder(s).editMetadata().addToLabels("testLabel", "testLabelValue").endMetadata().build());
      logger.info("Updated storage class details:\n{}", updatedStorageClass);

      //delete storage class
      client.resource(storageClass).delete();
    } catch (KubernetesClientException e) {
      logger.error(e.getMessage(), e);
    }
  
<no_super_class>