class ListVolumeSnapshots {

  @SuppressWarnings("java:S106")
  public static void main(String[] args) {<FILL_FUNCTION_BODY>}
}

    try (VolumeSnapshotClient client = ClientFactory.newClient(args)) {
      VolumeSnapshotList list = client.volumeSnapshots().list();
      System.out.println("Listing Volume Snapshots:");
      list.getItems().stream()
          .map(b -> b.getMetadata().getName())
          .forEach(System.out::println);
      System.out.println("Done");
    }
  
<no_super_class>