public function setLogging($bucketName, $bucketLoggingStatus) { if ($bucketName instanceof BucketData) { $bucketName = $bucketName->bucketName; } return $this->getS3()->getApiHandler()->setBucketLogging($bucketName, $bucketLoggingStatus); }