backupWindow = $backupWindow; } /** * @return string */ public function getBackupWindow() { return $this->backupWindow; } /** * @param bool */ public function setEnabled($enabled) { $this->enabled = $enabled; } /** * @return bool */ public function getEnabled() { return $this->enabled; } /** * @param EncryptionConfig */ public function setEncryptionConfig(EncryptionConfig $encryptionConfig) { $this->encryptionConfig = $encryptionConfig; } /** * @return EncryptionConfig */ public function getEncryptionConfig() { return $this->encryptionConfig; } /** * @param string[] */ public function setLabels($labels) { $this->labels = $labels; } /** * @return string[] */ public function getLabels() { return $this->labels; } /** * @param string */ public function setLocation($location) { $this->location = $location; } /** * @return string */ public function getLocation() { return $this->location; } /** * @param QuantityBasedRetention */ public function setQuantityBasedRetention(QuantityBasedRetention $quantityBasedRetention) { $this->quantityBasedRetention = $quantityBasedRetention; } /** * @return QuantityBasedRetention */ public function getQuantityBasedRetention() { return $this->quantityBasedRetention; } /** * @param TimeBasedRetention */ public function setTimeBasedRetention(TimeBasedRetention $timeBasedRetention) { $this->timeBasedRetention = $timeBasedRetention; } /** * @return TimeBasedRetention */ public function getTimeBasedRetention() { return $this->timeBasedRetention; } /** * @param WeeklySchedule */ public function setWeeklySchedule(WeeklySchedule $weeklySchedule) { $this->weeklySchedule = $weeklySchedule; } /** * @return WeeklySchedule */ public function getWeeklySchedule() { return $this->weeklySchedule; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(AutomatedBackupPolicy::class, 'Google_Service_CloudAlloyDBAdmin_AutomatedBackupPolicy');