docs: private void uploadFile(String fileName) throws IOException, NoSuchAlgorithmException, InvalidKeyException,
        XmlPullParserException, InvalidEndpointException, InvalidPortException,
        InvalidBucketNameException, InsufficientDataException, NoResponseException,
        ErrorResponseException, InternalException, InvalidArgumentException {
  
      /* play.min.io for test and development. */
      MinioClient minioClient = new MinioClient("https://play.min.io:9000", "Q3AM3UQ867SPQQA43P2F",
                                                "zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG");
      /* Amazon S3: */
      // MinioClient minioClient = new MinioClient("https://s3.amazonaws.com",
      // "YOUR-ACCESSKEYID",
      // "YOUR-SECRETACCESSKEY");
  
      File file = new File(fileName);
      try (BufferedInputStream bis = new BufferedInputStream(new FileInputStream(file))) {
        ProgressMonitorInputStream pmis = new ProgressMonitorInputStream(
            this,
            "Uploading... " + file.getAbsolutePath(),
            bis);
  
        pmis.getProgressMonitor().setMillisToPopup(10);
        minioClient.putObject("bank", "my-objectname", pmis, bis.available(), "application/octet-stream");
        System.out.println("my-objectname is uploaded successfully");
      } catch (FileNotFoundException e) {
        // TODO Auto-generated catch block
        e.printStackTrace();
      } catch (IOException e) {
        // TODO Auto-generated catch block
        e.printStackTrace();
      }
    }