public function setLifecycle($lifecycle) { $this->throwExceptionIfNotInitialized(); return $this->getS3()->bucket->setLifecycle($this->bucketName); }