docs: public PutObjectResponse putObject(String bucketName, String key, byte[] value, ObjectMetadata metadata) {
          if (metadata.getContentLength() == -1) {
              metadata.setContentLength(value.length);
          }
          return this.putObject(new PutObjectRequest(bucketName, key, RestartableInputStream.wrap(value), metadata));
      }