docs: public void setBucketLifeCycle(String bucketName, String lifeCycle)
            throws InvalidBucketNameException, NoSuchAlgorithmException,
            InsufficientDataException, IOException, InvalidKeyException, NoResponseException,
            XmlPullParserException, ErrorResponseException, InternalException,InvalidArgumentException {
      if ((lifeCycle == null) || "".equals(lifeCycle)) {
        throw new InvalidArgumentException("life cycle cannot be empty");
      }
      Map<String, String> headerMap = new HashMap<>();
      headerMap.put("Content-Length", Integer.toString(lifeCycle.length()));
      Map<String, String> queryParamMap = new HashMap<>();
      queryParamMap.put("lifecycle", "");
      HttpResponse response = executePut(bucketName, null, headerMap, queryParamMap, lifeCycle, 0);
      response.body().close();
    }