docs: public static void main(String[] args) throws InvalidKeyException, NoSuchAlgorithmException,
        InvalidEndpointException, InvalidPortException, InvalidBucketNameException,
        InsufficientDataException, NoResponseException, ErrorResponseException, InternalException,
        InvalidArgumentException, IOException, XmlPullParserException {
      /* 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");
  
      String objectName = "my-objectname";
      String bucketName = "my-bucketname";
  
      File file = new File("my-filename");
      InputStream pis = new BufferedInputStream(new ProgressStream("Uploading... ",
                                                                   ProgressBarStyle.ASCII,
                                                                   new FileInputStream(file)));
      minioClient.putObject(bucketName, objectName, pis, pis.available(), "application/octet-stream");
      pis.close();
      System.out.println("my-objectname is uploaded successfully");
    }