public function setPolicy($policy) { $this->throwExceptionIfNotInitialized(); return $this->getS3()->bucket->setPolicy($this->bucketName, $policy); }