class CreateVolumeSnapshotClass {

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

    try (VolumeSnapshotClient client = ClientFactory.newClient(args)) {
      client.volumeSnapshotClasses().create(new VolumeSnapshotClassBuilder()
          .withNewMetadata()
          .withName("my-snapshot-class")
          .endMetadata()
          .withDriver("my-csi-driver")
          .withDeletionPolicy("Delete")
          .build());
    }
  
<no_super_class>