clusterRole = $clusterRole; } /** * @return string */ public function getClusterRole() { return $this->clusterRole; } /** * @param Membership */ public function setMembership(Membership $membership) { $this->membership = $membership; } /** * @return Membership */ public function getMembership() { return $this->membership; } /** * @param RemoteCluster */ public function setPrimaryCluster(RemoteCluster $primaryCluster) { $this->primaryCluster = $primaryCluster; } /** * @return RemoteCluster */ public function getPrimaryCluster() { return $this->primaryCluster; } /** * @param RemoteCluster[] */ public function setSecondaryClusters($secondaryClusters) { $this->secondaryClusters = $secondaryClusters; } /** * @return RemoteCluster[] */ public function getSecondaryClusters() { return $this->secondaryClusters; } /** * @param string */ public function setUpdateTime($updateTime) { $this->updateTime = $updateTime; } /** * @return string */ public function getUpdateTime() { return $this->updateTime; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(CrossClusterReplicationConfig::class, 'Google_Service_CloudRedis_CrossClusterReplicationConfig');