clusterName = $clusterName; } /** * @return string */ public function getClusterName() { return $this->clusterName; } /** * @param string */ public function setClusterUuid($clusterUuid) { $this->clusterUuid = $clusterUuid; } /** * @return string */ public function getClusterUuid() { return $this->clusterUuid; } /** * @param ClusterConfig */ public function setConfig(ClusterConfig $config) { $this->config = $config; } /** * @return ClusterConfig */ public function getConfig() { return $this->config; } /** * @param string[] */ public function setLabels($labels) { $this->labels = $labels; } /** * @return string[] */ public function getLabels() { return $this->labels; } /** * @param ClusterMetrics */ public function setMetrics(ClusterMetrics $metrics) { $this->metrics = $metrics; } /** * @return ClusterMetrics */ public function getMetrics() { return $this->metrics; } /** * @param string */ public function setProjectId($projectId) { $this->projectId = $projectId; } /** * @return string */ public function getProjectId() { return $this->projectId; } /** * @param ClusterStatus */ public function setStatus(ClusterStatus $status) { $this->status = $status; } /** * @return ClusterStatus */ public function getStatus() { return $this->status; } /** * @param ClusterStatus[] */ public function setStatusHistory($statusHistory) { $this->statusHistory = $statusHistory; } /** * @return ClusterStatus[] */ public function getStatusHistory() { return $this->statusHistory; } /** * @param VirtualClusterConfig */ public function setVirtualClusterConfig(VirtualClusterConfig $virtualClusterConfig) { $this->virtualClusterConfig = $virtualClusterConfig; } /** * @return VirtualClusterConfig */ public function getVirtualClusterConfig() { return $this->virtualClusterConfig; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Cluster::class, 'Google_Service_Dataproc_Cluster');