code: public void deleteBucketLifeCycle(String bucketName)
            throws InvalidBucketNameException, NoSuchAlgorithmException,
            InsufficientDataException, IOException, InvalidKeyException, NoResponseException,
            XmlPullParserException, ErrorResponseException, InternalException {
      Map<String,String> queryParamMap = new HashMap<>();
      queryParamMap.put("lifecycle", "");
      HttpResponse response = executeDelete(bucketName,  "", queryParamMap);
      response.body().close();
    }
docs: Delete the LifeCycle of bucket.
  
  @param bucketName   Bucket name.
  
  </p><b>Example:</b><br>
  <pre>{@code  deleteBucketLifeCycle("my-bucketname"); }</pre>
  @throws InvalidBucketNameException  upon invalid bucket name is given
  @throws NoSuchAlgorithmException    upon requested algorithm was not found during
  signature calculation
  @throws InsufficientDataException   upon getting EOFException while reading given
  InputStream even before reading given length
  @throws IOException                 upon connection error
  @throws InvalidKeyException         upon an invalid access key or secret key
  @throws NoResponseException         upon no response from server
  @throws XmlPullParserException      upon parsing response xml
  @throws ErrorResponseException      upon unsuccessful execution
  @throws InternalException           upon internal library error